Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to reference an other form than the mainform ?
Message
From
30/04/2001 14:26:06
 
 
To
30/04/2001 14:01:12
Ing. T.R.M. Pluym
Pluym Elektronics Bv
Hulst, Netherlands
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00499895
Message ID:
00501690
Views:
54
One other issue --

You have to be careful about managing the object references.

Consider this scenario.
Form A calls form B.
Form A passes along its reference to form B which saves it to a property.
If you try to release form A -- you'll have a dangling reference, and the form will remain on the form.

You may be able to prevent that in code.

In the 3rd scenario, in the Destroy method of the updated form, you should set the global variable to .NULL. again.
oUpdateMe = .NULL.
DODEFAULT()
Jay
Previous
Reply
Map
View

Click here to load this message in the networking platform