Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_screen not closable
Message
From
05/05/2003 13:40:48
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
CodeMine
Title:
_screen not closable
Miscellaneous
Thread ID:
00785041
Message ID:
00785041
Views:
53
I have an issue common throughout my app. Lets say i launch a standard data form, then from that form I launch a child form that is modal. At that point the main visual foxpro screen is not closable _screen.closable=.f. And that is the correctly so.

I want to close the child form and the parent form all at once, from the child. But when I do this the main screen is no longer closable. Even though there are no forms active.

Here is some sample code, contained in a command button on the parent form:
in all cases both forms close leaving the app open to the main screen, but the main screen is not closable except through the menus. The x is gray.
thisform.ostatemanager.openchild('mychild.scx')
thisform.close()
OR
thisform.ostatemanager.openchild('mychild.scx')
_screen.closable=.t.
thisform.ostatemanager.closeform('myparent.scx')
Next
Reply
Map
View

Click here to load this message in the networking platform