Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 3.0 - Command button - Caption property
Message
From
23/12/1997 11:49:53
Alhad Marathe
Asm Consulting
Mumbai, India
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00067686
Message ID:
00067701
Views:
32
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform