Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return a value from a form object
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Return a value from a form object
Miscellaneous
Thread ID:
00643888
Message ID:
00643888
Views:
35
Hi everybody,

I know how to return a value from a form this way :

DO FORM name TO returnvar


But my case is a little different. A create a formset object in which I add a form. My form is an object stored in a vcx class. Here's how I do that :

oFormSet = CreateObject("FormSet")
oFormSet.WindowType = 2
oFormSet.AddObject("MyMainForm","MyFormClass")
oFormSet.MyMainForm.Visible = .T.
oFormSet.Show()
oFormSet.Release


What would be the better way to return a value from the object "MyMainForm" ?


Thanks in advance !
********************************************

Benoit Grenier


encoder@silogic.ca (Job)
encoder@sympatico.ca (home)
Web site : www.silogic.ca
Next
Reply
Map
View

Click here to load this message in the networking platform