Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to open forms maximized
Message
From
22/11/2006 05:44:05
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
01171641
Message ID:
01171680
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().
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform