Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DO FORM x TO variable
Message
From
02/12/2011 05:49:00
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Miscellaneous
Thread ID:
01530137
Message ID:
01530156
Views:
67
Martina,

That was what I did just now! Thanks!
loPar=CREATEOBJECT("Empty")
ADDPROPERTY(loPar,"lLoginResult",.F.)
ADDPROPERTY(loPar,"Second",5)

**********************************
* from parts
**********************************

* form::Init()
LPARAM loPar
This.AddProperty("oPar",loPar)

* form.cmdOK::Click()
IF .T.
  Thisform.oPar.lLoginResult=.T.
ENDIF

* form::Destroy()
CLEAR EVENTS
************************************

DO FORM frmLogin WITH loPar    && frmLogin is As top level form
READ EVENTS

IF loPar.lLoginResult
    DO FORM frmMain
ELSE
    MESSAGEBOX( "Login Failed." )
ENDIF
Dennis
Previous
Reply
Map
View

Click here to load this message in the networking platform