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

Since this is a really FAQ, I added FAQ #7975692, which should help you. Take a look.

>
>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
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform