Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return value from Object
Message
 
To
27/12/2004 13:52:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00972408
Message ID:
00972445
Views:
21
If the form is created as a class (In PRG or VCX) the this code not works.
But You can define some variable & then store a vlaue in Unload event of the form:
LOCAL oObj
PRIVATE nRetVal
nRetVal = 0
oObj=CREATEOBJECT("frmTeste",1,"")
oObj.Show()

** In Unload event, put
  nRetVal = 150
** Then
? nRetVal
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform