Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi-line button caption
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00689400
Message ID:
00689456
Vues:
19
There is no way i know to do that in VFP6. What i always did was to write everything i needed, set WordWrap to .T. and resize the control to have the lines displayed ( i also played with the font size when needed ).

Jaime

>That was the first thing I tried!
>All I see is WORD1 WORD2 with a control character between them on the same line. Makes no difference with wordwrap on of off
>
>I am using VFP6 SP3
>
>>Try
>>Thisform.command1.Caption = "word1" + CHR(13) + "word2"
>>>How do I get two words to display correctly on a command button? I want one above the other >>i.e.
>>>
>>>WORD1
>>>WORD2
>>>
>>>it only seems to work if I turn on wordwrap, but the size of the buttons is variable so I >>sometimes get:
>>>
>>>WORD1WO
>>>RD2
>>>
>>>Is there any way I can put a CR between them to force where I want the wrap?
Why do programs stop working correctly as soon as you leave the Fox?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform