Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text on CmdButtons
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00063139
Message ID:
00063325
Views:
46
>>>>I was wondering if it is possible to put two words one above the other on a command button.
>>>>If so How do you do it?
>>>
>>>You can create a label and put in on cmdbutton. It will require some additional coding, at least in cmd.click event.
>>
>>Plus in the caption of the label: ="Line 1 stuff"+chr(13)+"Line 2 stuff" to explicitly split the line where you want. And make the BackStyle of the label transparent.
>Mark,
>
>Garrett had the easiest answer, set wordwrap to .T. and size the button so the words wrap.

That is true. But my suggestion was how to explicitly split the line where you want, not necessarily where WordWrap splits the line.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform