Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing Params in Form Classes
Message
 
To
16/04/2007 16:36:14
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01216407
Message ID:
01216502
Views:
12
>>>>>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?

Unfortunately, FormA is already MODAL. I created the new FormB and it's default is Modeless. (I didn't check till now on the Modal nature of the two forms).
Tommy Tillman A+ NetWork+ MCP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform