Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Maximize form
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Maximize form
Divers
Thread ID:
00437528
Message ID:
00437528
Vues:
53
Hi,

I have a form's base class, I'm trying to do a maximize form, depending on an app's property.

the code is:

IF gocsapp.usuportatil AND this.MaxButton
this.lockscreen = .T.
this.windowstate = 2 &&maximize
this.lockscreen = .F.
ENDIF

I'm running the form via a DO FORM ... not using CREATEOBJECT

This don't work nor in the Init neither in the Load, only in the Show Event, but I can see the repainting...

Any way to set the windowstate to 2 or maximize in a form's base class without seeing the repainting when I load a form?

Another try was KEYBOARD "{CTRL+F10}" in the Init, worked but repainting effect and I prefer to use the windowstate.

Thanks in advance.
Pablo Roca
Clavo Congelados, S.A. (La Coruna - Spain)
Sysop of PortalFox

Join MasFoxPro campaign
http://www.masfoxpro.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform