Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to predict the size of a label.caption in pixel?
Message
 
To
11/12/1999 18:52:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00302272
Message ID:
00302970
Views:
27
Hi Ed,

>You may better set Label.AutoSize=.T. and check Label.Width property after each changing of its caption.

This won't always work, because VFP recalculates the width of a label when it displays it, not when you change the caption.

Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform