Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to open forms maximized
Message
 
 
À
22/11/2006 05:44:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Divers
Thread ID:
01171641
Message ID:
01171950
Vues:
7
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform