Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_SCREEN.Forms Forgets One Screen
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
_SCREEN.Forms Forgets One Screen
Miscellaneous
Thread ID:
00886201
Message ID:
00886201
Views:
62
Trying to use _SCREEN.Forms to check each form at program close (Queryunload - have we saved etc.) Here is the simplified code

*// Two simple modeless forms with nothing on them but a label
DO FORM tst1
DO FORM tst2
=MessageBox("Ok to release forms")
FOR EACH loFORM IN _SCREEN.Forms
IF NOT ISNULL(loForm)
loForm.release
ENDIF
NEXT

One form is always ignored - in this case the first one
What am I doing wrong ?
TIA
John
To move a mountain start with the smallest stone
Next
Reply
Map
View

Click here to load this message in the networking platform