Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Release a Form from another one.
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01061281
Message ID:
01061296
Views:
12
Is there a command I can issue in Form1 to release Form2? This is because I want to have Form2 closed prgrammaticaly when the user goes to a certain place on Form1.

In addition to what Hilmar aid, do not forget to set
Thisform.oSecondForm = .NULL.
after you call its Release() method to prevent dangling object references.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform