Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing Params in Form Classes
Message
From
16/04/2007 16:36:14
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01216407
Message ID:
01216496
Views:
21
>>>>You should pass an object to form B:
>>>>
>>>>oCallobject=createobject('custom')
>>>>oCallobject.addproperty('returnvalue')
>>>>=createobject('formb',oCallobject)
>>>>....
>>>>
>>>>and you will accept oCallobject in FormB.Init event, and populate Returnvalue property within that form.
>>>>
>>>>
>>>
>>>Looks good.
>>>
>>>How do I trigger FormA to know that FormB is now gone and I have a change in ReturnValue property (so as to update an input grid with that value and refresh the form)?
>>>
>>>Thanks!
>>>
>>Is FormB modal or modeless?
>
>FormA is MODAL and FormB is MODELESS.

You cannot call modeless form from modal. It may create interface confusion. Maybe you meant the opposite: modal form is called from the modeless?
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform