Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing multiple forms
Message
From
21/07/1999 20:13:02
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
 
 
To
21/07/1999 19:33:50
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00244464
Message ID:
00244483
Views:
14
>I have a formset (toolbar and form) open and from this first form open another form (second) and from the second form open a third form. I would like to be able to close the second and third form from the close button on the form in the first formset. I would appreciate any help anyone could give on this.
>
>Thanks in advance.
>
>Pat

If all the forms are members of the formset then you could iterate through the ThisFormset.Forms collection, closing each form you find.

FOR EACH loForm IN THISFORMSET.Forms
loForm.Release()
ENDFOR
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform