Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SDI / MDI and refering to its main window
Message
De
26/10/1998 09:19:28
Marco Beuk
Innovero Software Solutions
The Hague, Pays-Bas
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00147457
Message ID:
00150449
Vues:
30
>Okay, say you have a top-level scx Topform, and another scx Childform. You
>
>DO FORM Topform
>
>then (simplest example) in Topform, you have a button "run childform" with code
>
>DO FORM Childform
>
>Now from Childform, you have a button "Change Topform Caption" with code
>
>Topform.caption = 'Hi There!'
>
This works. But in my top-level form i've got a button "open antother session" which does DO FORM Topform. So antoher session of my application is started.
Now when i click the "Change Topform Caption" - button the caption of the topform of the last started session is modified instead of the currently active session.
All my topforms have the same name: " Topform" because it is the same form.
So as long as we are talking SDI it works, as soon as we go MDI we get problems.

Marco.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform