Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text on CmdButtons
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00063139
Message ID:
00063325
Vues:
55
>>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform