Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 3.0 - Command button - Caption property
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00067686
Message ID:
00067754
Vues:
25
>>>Does anybody know how to enter multi-line captions in the CAPTION property
>>>for a COMMAND button?
>>>
>>>I gave up on trying to use the CAPTION property for mult-line captions.
>>>Instead I create a bitmap and use the PICTURE property. Is this the best way to
>>>go?
>>
>>OK folks, try: .caption="Line1"+chr(13)+"Line2"
>>Works for me in VFP3
>
>Hi Mark,
>
>Your suggestion works great for labels.
>Example: thisform.label1.caption = "Save"+chr(13)+"All"
>
>But doing the following with a command button does not work:
>
>thisform.commandbutton1.caption = "Save"+chr(13)+"All"
>
>The caption still appears on 1 line.

Sorry, you are right. I did this example before, but I forgot I overlaid a command button with a 2-line label and made the label transparent.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform