Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi-Line CommandButton Captions
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00652764
Message ID:
00652855
Views:
16
Rodney...

Sergey is correct in his reply. As a further suggestion, if you would always force the .Caption for this Command Button HAVE a second line (if it is supposed to be blank, use spaces) it would serve two purposes.

First, the caption will ALWAYS be long enough to cause the word wrap to kick in because you ALWAYS have a “second” line of SPACES. Secondly, the word you want on the first line will remain on the first line and not “jump” from a centered position when there is nothing (visibly displayed) on the second line. Lastly, I am not so sure that the CHR(10)s are actually needed.

...Dave
Previous
Reply
Map
View

Click here to load this message in the networking platform