General information
Category:
Forms & Form designer
Title:
Close all active form at one time
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only