Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Close all active form at one time
Message
From
11/12/2000 02:29:27
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Close all active form at one time
Miscellaneous
Thread ID:
00451494
Message ID:
00451494
Views:
87
Dear all,

I would like to close all active forms at one time. I wrote a procedure to do that and used _SCREEN to retrieve the active form. When I run the procedure, it will close the actived forms but miss one. And run again, it also miss one to close. Is it a bug for _SCREEN.form? Code of procedure showed as below:

for each mFORM in .forms
if upper(mFORM.baseclass) = 'FORM'
mRLSFRM = mform.name
release (mRLSFRM)
release all like frm*
endif
endfor

I will link the form with a variable named as name of form when I open the form. Thank you for your help ....

Best Regards,

Justy Chow
Next
Reply
Map
View

Click here to load this message in the networking platform