Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to open forms maximized
Message
From
22/11/2006 18:10:58
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
01171641
Message ID:
01171950
Views:
6
>>To open forms maximized, in the activate of the form I have:
>>
>>If thisform.Lflagdone = .F.
>>   thisform.Lflagdone = .T.
>>   Thisform.WindowState = 2
>>endif
>>
>>There is a toolbar on the screen. When the toolbar is docked at the top, the form maximizes OK. However, when the toolbar is docked on the left, the form does NOT open maximized.
>>
>>Is there is another better way to open a form maximized?
>
>Hmm, sounds like a bug?
>
>Whatever, is the Init() or the Load() not the better place to maximize?! They are visited only once, implying that there is no need for lFlagdone. And perhaps the toolbar is not yet present, esp. when done from the Load().

Thanks for the suggestion to use Load() instead of Activate().
Cyril
Previous
Reply
Map
View

Click here to load this message in the networking platform