Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keeping a non modal form active.
Message
 
À
17/06/1998 02:54:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00108964
Message ID:
00109029
Vues:
72
>Surely i'm asking a very basic question of VFP, but i'm losing something:
>
>I know that if you want to keep a non-modal form active you must issue 'read events' in the main program. But how to keep a non-modal form called by one modal form active? Is this possible? How?
>
>Modal form
> commandbutton
> call to non-modal form (it disappears inmediately)
Carlos,

I don't think you will succeed at this one because;

you hit the button in the modal form
the click code runs and executes the non-modal form
the click code completes and focus is again in the modal form
the modal form will NOT give up focus to the non-modal form

The only solution is to pass a parameter to the non-modal form that tells it to make itself modal this time by changing the windowtype property in the init.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform