Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keeping a non modal form active.
Message
De
17/06/1998 09:37:06
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00108964
Message ID:
00109047
Vues:
65
>>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.

Thanks Jim. I 'm thinking in change my code to do not need this second form.
Carlos.
Saludos,
A.G.P.
---------
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform