Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parent form referencing
Message
From
25/10/2003 14:12:50
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
25/10/2003 13:23:12
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00842625
Message ID:
00842633
Views:
15
>I have a parent Form which has a property to reference child Form.
>
>How do I get reference from child Form on a parent Form?

The other way around is a little simpler. If the child form has to have a reference to the parent form, you can just pass ThisForm as a parameter to the child form, and, in the child form's Init(), assign it to a property.

Once you have this, it should be relatively easy to call methods on the parent form, again, passing ThisForm as a parameter.

HTH,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform