Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Top Level Modal Form Calling another top level modal for
Message
 
À
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:
00104541
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.

Your second forms' ShowWindow property should be set to 1-In Top Level not As Top Level.
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform