Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Top Level Modal Form Calling another top level modal for
Message
De
04/06/1998 16:31:00
 
 
À
03/06/1998 19:30:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00104522
Message ID:
00104927
Vues:
19
>I have an application where the first screen has the foll properties:
>Modal
>As top level form
>and the init has : Application.Visible = .F. to hide the main vfox
>window.
>
>A button on this screen calls another form which is also Modal and
>isalso top level form.
>
>The problem I have is that the code executes (in the button click) and
>runs screen 2 and immediately returns to the first screen.
>
>What I am trying to do is to not allow focus on the 1st screen till the
>second called screen has finished.
>
>Basically the first screen accepts input and on clicking the find
>button, the second screen- a search form, pops up and on it closing,
>pumps data into the first screen field. But I cannot get the code to
>stop executing in the find button of the first screen. It calls the
>screen alright but does not wait for it to close before executing the
>rest of the code.
>
>This is for VFP5a
>
>boutb@powerup.com.au

If ShowWindow property is set to 2 window type is always modeless. You may rely on conditional (programmatic) access and not in the window being modal, for this scenario.

HTH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform