Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Caught in a loop
Message
De
17/11/1998 10:30:56
 
 
À
17/11/1998 10:24:37
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00158222
Message ID:
00158226
Vues:
18
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform