Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameters to forms.
Message
 
To
16/12/2002 14:07:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00732842
Message ID:
00733386
Views:
18
Thanks for the info...

This technique worked well, also!

Tommy

>A process I've used successfully is to pass to the modal form an object reference of the calling form:
>
>Do Form "YourModalFOrm" With this
>
>Create a property on the modal form to store the reference. I use "oCaller." Then in the init of the form I have code like this:
>
>Init
>Lparameters oCallerRef
>this.oCaller = oCallerRef
>
>Then in the click method of the button that closes the form you can set the properties and the calling form's controls will be visible:
>
>thisForm.oCaller.Text1.Value = thisForm.StartDate.Value
>Etc.
Tommy Tillman A+ NetWork+ MCP
Previous
Reply
Map
View

Click here to load this message in the networking platform