Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Maximize not calling resize ??
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00832301
Message ID:
00832399
Views:
35
Still no luck! I put the code that you listed in my init but resize still wasn't called.

I am (and always was) calling my _AlignObjects method in Init(). That sizes all my objects based on the size of the form. However, everything gets sized on the "design size" of my form rather than the maximized size. This gives me the impression that Maximize hasn't taken place yet in that the height and width values of the form haven't changed yet.

Does the form "maximize" itself AFTER Init? It seems like everything points that way. If so, it seems like I'm stuck ... there's no "post_init()" method to call to cause everything to refresh.
>
>In your Init:
>
>thisform.LockScreen = .t.
>thisform.Visible = .t.
>thisform.WindowState = 2
>thisform.LockScreen = .f.
>
>
>Resize only seems to fire if the form is Visible when the WindowState is changed.
>
>Or you could probably get away with just calling thisform.Resize() from the .Init, too.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform