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:
00689405
Vues:
20
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?
- Craig

"If you're not prepared to be wrong, you will never come up with anything original."
- Sir Ken Robinson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform