Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 3.0 - Command button - Caption property
Message
De
23/12/1997 11:49:53
Alhad Marathe
Asm Consulting
Mumbai, Inde
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00067686
Message ID:
00067701
Vues:
36
>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?

Jack,

You cannot set a multi-line caption to a command button.
You can however remove the caption and add a label on the form. Labels can have multi-line captions.
Set the wrap property to true and then size the label to make multi-line captions. You can then position
the label on top of the command button and write code in the click method of the label to click the commandbutton.

HTH,

Alhad
Only direct experience is Knowledge;
Everything else is just Information.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform