Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Close a background form

Status
Not open for further replies.

Tapeworm

Programmer
Mar 6, 2001
8
DE
How can I save A Form with all its properties in a variable.
I must close all forms in the background after I loaded a different one witout knowing the background - forms name.

I tried it with a global variable (for the last opened form) dimmed as form but the allocation  ( [variable] = me / activeform ) doesn't work ...
 
Try this

Set [Variable] = me/activeform

Whenever you are working with objects (this includes forms), you need to use the SET command to set you object reference. This shoul allow you to keep track of the other form in a global variable. - Jeff Marler
(please note, that the page is under construction)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top