Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What function to restore a minimized form

Status
Not open for further replies.

kmagy

MIS
Joined
Oct 21, 2003
Messages
38
Location
JO
Hi every body

Iam using VFP8, function to use for restoring (programing wise) a minimized form.

Thanks in advance
 


Thisform.windowstate = 0 && Normal
Thisform.windowstate = 1 && minimized
Thisform.windowstate = 2 && Maximized


Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Hi Mgagnon

Thank you for yr reply

If the form is minimized in a top-level form and Iam checking for the activation of that form using WONTOP() function and the function returns .T., Then I want to restore that form . the windowstate didnt work

Thanks again
 
To add a bit to kmagy's reply.

IF WEXIST('myForm')
* the form exists
ACTIVATE WINDOW myForm
ENDIF

Jim Osieczonek
Delta Business Group, LLC
 
or you could refer directly to the form's name:

IF WEXIST('myform')
myform.WINDOWSTATE = 2
ENDIF


kilroy [trooper]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top