Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting other forms
Message
De
02/10/2000 18:21:07
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00423759
Message ID:
00423808
Vues:
10
>Dennis,
>
>The framework has a form manager. You can use the GetFormCount method that is in the CFormMgr class, or you can use the Get method of the CChildCollection class get a reference to a specific form.
>
>Typically, the form manager is added to the application object via the oForms property. For example: goApp.oForms.GetFormCount()
>

Beware/Bemoan the fact that oForms doesn't necessarily contain references to Modal forms! Kevin has said this will be fixed in the latest/greatest version of the framework, and it may not affect you before then... but it's something to be aware of, else it may bite you as it has me! You can, however, use _SCREEN.FormCount to trap the number of open forms on the screen, and then _SCREEN.Forms array to reference them individually.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform