Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to return a value from a non-visual form?
Message
From
12/07/2001 21:28:42
 
 
To
12/07/2001 21:18:18
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00530047
Message ID:
00530054
Views:
31
Hi all,

I can return a value to a variable from a form created visually as follows:
x = ''
do form frmModal to x
How can I get the return value of a form created programatically?
x=createobject('frmModal')
x.show()
* ??? How will I get a return value using this way

define class frmModal as form

  * modal = .t. 
  windowtype = 1  && correction

  procedure unload()
     return 'Hello world'
  endproc
enddefine
ramil
~~ learning to stand still
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform