Click to See Complete Forum and Search --> : Canter Text


October 11th, 1999, 09:09 AM
How do you center the text on a command button ? I can not see any option.

Dr_Michael
October 11th, 1999, 09:23 AM
On it's caption property...

Michael Vlastos
Automation Engineer
Company Modus SA
Development Department
Athens, Greece

October 11th, 1999, 09:42 AM
Still can`t see it !

Lothar Haensler
October 11th, 1999, 09:54 AM
I am confused. Text on a Command button is centered by default!
What type of button do you use.

Dr_Michael
October 11th, 1999, 09:57 AM
Well, fill in the caption property of the command button the text you wish, and it will be centered by default...
Is that clear?

Michael Vlastos
Automation Engineer
Company Modus SA
Development Department
Athens, Greece

October 11th, 1999, 10:10 AM
Not if it word wraps a long piece of text, then it left justifies.

Lothar Haensler
October 11th, 1999, 10:15 AM
not so, if you set the style property to graphical!

October 11th, 1999, 10:19 AM
Cheers the first sensible answer.
Thanks James

Lothar Haensler
October 11th, 1999, 10:25 AM
if you had mentioned that wordwrap problem earlier, you could have avoided quite a few "insensible" answers ;-)