Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting other forms
Message
From
02/10/2000 18:21:07
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00423759
Message ID:
00423808
Views:
11
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform