Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text on CmdButtons
Message
De
02/12/1997 12:33:09
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00063139
Message ID:
00063330
Vues:
57
>>>>>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.

and I meant version 3 (no wordwrap) :)
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform