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.