Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to open forms maximized
Message
De
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:
01171680
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().
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform