Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_SCREEN
Message
 
To
10/12/1999 12:47:23
Jacky Yuen
Myth Group Computer Technology
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00301827
Message ID:
00301842
Views:
30
The best way to do it is pass a refrence of mainform object to the replace form as a parameter. Like:


do form replace with thisform


Then in the init method of replace form have:


LParameter voMainForm

** oMainForm is a custom Property of replace
ThisForm.oMainForm = voMainForm


Whenever you need to reference something on the mainform just use something like:

Thisform.oMainForm.SomeTextBox.Value = "New Value"
Rip Ryness
International Falls, MN
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform