Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
THISFORM.WindowState = 2 don't change thisform.height?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01249691
Message ID:
01249783
Views:
15
Hi Eric,

>When does thisform.width and height get updated if not when changing windowstate ?

VFP doesn't update sizes during the Init process. Aside from Height/Width not reflecting the actual size, this also means that the Resize event is not triggered. That's relevant if you arrange controls on the form in this method. For labels that have AutoSize set to .T. the Width and Height property is also only updated when the form becomes visible.
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform