Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WindowType question
Message
 
 
À
09/02/2001 12:38:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00474509
Message ID:
00474559
Vues:
13
Make the formset modless. After your DO MYFORMSETNAME you need a READ EVENTS command. In the FormSet's Destroy, you need a CLEAR EVENTS. Before the DO MYFORMSETNAME you need an ON SHUTDOWN DO APP_SHUTDOWN command.

In the APP_SHUTDOWN procedure, you should loop through all _screen.forms() collection and release any open forms[ets]

Disclaimer: I [as do most] do not use formsets. What I have provided does work with forms.

>I have a formset with 3 forms.
>When I create an application (I only need this formset, no menus, no programs), I have to set formset's WindowType to Modal, otherwise the application won't process events. Formset is marked as main in the project manager.
>Now, when the first form of the set gets the focus, application's Close Box is grayed out. This doesn't happen when two other forms get the focus.
>How should I set WindowType so _SCREEN's close box would be available all the time?
>
>Right now I have:
>_SCREEN ------------------- (default)
>Formset -------------------- Modal
>-- Form1-------------------- Modeless
>-- Form2-------------------- Modeless
>-- Form3-------------------- Modeless
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform