Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modal Form and MESSAGEBOX and Another Form
Message
De
16/04/2008 16:35:25
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01310983
Message ID:
01311287
Vues:
18
>>I've been trying to popup a small form on my main form. It would not display. I didn't realize that it was popping up behind the main form until I set the AutoCenter to .F. just for kicks. The main form is modal. I've tried using zOrder() to bring the popup to the front, but it does not work. The MessageBox will appear on top of my main form. How can I get the popup form to appear in front of the the modal form?
>
>Set AlwaysOnTop = .T.

Would this work -- I haven't tested it. If the first form is modal and the second form that is popped up is modeless then after the second form is activated the focus will return back to the modal form. So the popup form would be inaccessible since now back to modal form. The popup should work with the second form if it is modal without the AlwaysOnTop=.T. setting. I have modal forms popping up ontop on modal forms and they work without the setting. Have not tried a modeless form...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform