Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling other forms from a top level form
Message
De
23/02/2000 06:02:11
Paul Robinshaw
Silkworm Technologies Limited
Macclesfield, Royaume Uni
 
 
À
22/02/2000 11:37:43
Paul Robinshaw
Silkworm Technologies Limited
Macclesfield, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00335424
Message ID:
00335887
Vues:
24
Hi All,

Ok let's try and clear things up.

I have an initial form, a form that launches a series of other forms. This form is modeless and ShowWindow = 2 As a Top-Level Form.

This form is called simply with:

DO FORM yyy.scx
READ EVENTS

The forms that are called subsequently are done from buttons on the initial form and so in the click event of the buttons is:

DO FORM zzz.scx
.

.

Form zzz.scx is also modeless and ShowWindow = 2 As a Top-Level Form.

My problem is that zzz.scx displays, stays activate on the screen, I can happily interact with it _but_ the executes immediately. It does not wait for the form to be deactivated.

Hope this is clear.

Any help would be appreciated.

Paul
















>Hi All,
>
>I have a "launcher" form that has a number of buttons on it and these buttons call a series of other forms. So in the click event of the button I have something like this:
>
>DO FORM myform
>
>
>Does anyone know why the second form just drops straight thru and starts to execute ? I feel like I need a READ in there somewhere but I'm not too sure how to handle it.
>
>The initial code for my "launcher" form does soemthing like:
>
>DO FORM launcherform
>READ EVENTS
>
>
>TIA
>
>Paul Robinshaw
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform