Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Push Button Caption
Message
From
02/05/1996 16:46:46
John Adams
John T. Adams Software Consulting Svcs
Keedysville, Maryland, United States
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00000975
Message ID:
00000997
Views:
54
Drew Speedie in his VFP Code examples (in download Corner) did
a similar trick with Grid Column Headers. Basically, he sized
the header, or button in this case, and placed a lable with the
desired text on top of it using zorder.

It's a little hoakie, but it gives the look of multiline captions.

John


>Arnon
>
>I just tried it with no luck.
>
>Tom
>
>
>>>I want to write 2 or more lines of text or long
>>>text on push button.
>>did u try adding chr(13) e.g.
>>this.caption="my 2 line"+chr(13)+"caption"
>>
>>Arnon
>
John Adams

John T. Adams
Software Consulting Services
Previous
Reply
Map
View

Click here to load this message in the networking platform