Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Maximize form
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Maximize form
Miscellaneous
Thread ID:
00437528
Message ID:
00437528
Views:
51
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
Next
Reply
Map
View

Click here to load this message in the networking platform