Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Child references to a Parent
Message
From
14/01/1999 09:34:00
Ng Man Kit
Genesis Systems Ltd.
Hong Kong, Hong Kong
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00175863
Message ID:
00175872
Views:
24
You can call form 'B' from form 'A' in this way,

DO FORM yourform WITH THISFORM

In Init method of form 'B', put this code to gain the reference

LPARAMETERS poParentForm

THISFORM.oParentForm = poParentForm

Afterwards, you can refer to the parent form by THISFORM.oParentForm within form 'B'

e.g.
=MESSAGEBOX(THISFORM.oParentForm.TextBox.Value)



Geoffrey Ng
Previous
Reply
Map
View

Click here to load this message in the networking platform