Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Procedures in forms?
Message
From
30/01/2004 03:07:12
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00872187
Message ID:
00872203
Views:
14
I breaks some OOP principles, but you could call your child forms with a reference to the parent form, then you have access to the parent methods and properties:

* Call the child form
do form MyChildForm with thisform

* Init section of child form
lparameters loParentForm
thisform.createproperty('oParentForm', loParentForm)

* From Child Form, samples of method or propertie access
thisform.oParentform.MyMethod()
thisform.oParentForm.MyProperty = NewValue
Gensoft Sàrl
Christian Carron
Previous
Reply
Map
View

Click here to load this message in the networking platform