Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Elusive dimensions of autosized labels
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Elusive dimensions of autosized labels
Miscellaneous
Thread ID:
00854506
Message ID:
00854506
Views:
63
It seems that that the height and width properties of autosized labels are elusive values in the midst of updating several controls on a form. For example, if you set the label's caption, and then set autosize to true, the height and width properties don't always immediately reflect what the newly autosized height and width are. It's as if they simply aren't calculated until later, sometimes even when a wait state is imposed such as inkey(.05). This is really a hassle when you need those values _right_then_ in order to place other controls relative to the label within the same thread of code. Thanks very much for any suggestions.
Next
Reply
Map
View

Click here to load this message in the networking platform