General information
Category:
Object Oriented Programming
You could pass a reference to the calling object so that the form called changes a property on the calling object. Or use a public container that stores the value for all to see.
Just a thought.
John Rowlinson
Microworks POS Solutions
>>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" ?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only