Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Caught in a loop
Message
From
17/11/1998 10:32:44
 
 
To
17/11/1998 10:24:37
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00158222
Message ID:
00158231
Views:
19
>Before anyone suggests it, this app CANNOT use toolbars. I have a menu across the top of the screen. When there is no active form (other than Stonefield's hidden form and my splash screen which covers the entire screen) I want the application to drop down the last active menu popup so that when the user closes his last form he is always presented with a list of options. I cannot figure out a mechanisn to fire the dropping down of the menu. I have an application class (oapp) with a property which holds the menu pop up name and a procedure which actives that popup. The problem is finding a place to fire this method. I have tried from within the form release, the form unload, the form destroy and though they all cause the menu to drop down they also either leave the full form on the screen or leave the form without any of its objects on the screen. Help!!

You can make (if simple ways don't work) this functionality through oApp.Timer, i.e. you enable timer from Form.Destroy event and then Timer.Timer checks oForm existence and then drop the menu, and disable itself.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform