Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Thisform.WindowState = 2 in form init does not resize fo
Message
From
17/09/2004 22:58:53
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00942748
Message ID:
00943689
Views:
19
>>In the init of a form I set Thisform.WindowState = 2, but the Height and Width of form remain the way it was before the command. I believe it should change, and in fact Codemine assumes it does and resizes / repositions internal objects relying on form changing size. Am I doing womething wrong?
>>
>>TIA,
>>
>>Alex
>
>Do you have MaxHeight and MaxWidth specified? Could it be that some class code alters width & height?

It could be.

I still don't know the cause of the problem but solved it by moving some code to Form.Activate. Thank you.

Alex
Previous
Reply
Map
View

Click here to load this message in the networking platform