Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Caught in a loop
Message
From
17/11/1998 10:30:56
 
 
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:
00158226
Views:
16
Calvin ----

I don't know how Stonefields hidden form works, but it seems to me that you could put the code to activate the menu drop-down in the GotFocus of the Splash since it appears that the splash form stays up all the time and it will fire a GotFocus if the last user form is closed in that case.

BTW: You can use the _SCREEN.FormCount property in the GotFocus to ensure that no other forms are open (Formcount > 2) before deciding to pop the menu.

>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!!
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform