Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_screen not closable
Message
De
05/05/2003 13:40:48
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Titre:
_screen not closable
Divers
Thread ID:
00785041
Message ID:
00785041
Vues:
51
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')
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform