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:18:18
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
How to return a value from a non-visual form?
Miscellaneous
Thread ID:
00530047
Message ID:
00530047
Views:
84
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.
  procedure unload()
     return 'Hello world'
  endproc
enddefine
ramil
~~ learning to stand still
Next
Reply
Map
View

Click here to load this message in the networking platform