Anyone know if this is poss, or do I somehow have to create my own control?
Printable View
Anyone know if this is poss, or do I somehow have to create my own control?
Just an idea.
Make sure the font of the form is set to the same font of the combo box.
You can then use the TextWidth() function to find out how wide the word will be. You can then use the TextWidth function on a space " ", to find out how many are needed to fill the text to the end of the combo box.
Divide the result by two, and you will know how many spaces to put either side of the text to make it appear centered.
Hope it helps.
Thanks Iain, I'll give it a go.