Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Caught in a loop
Message
De
17/11/1998 10:32:44
 
 
À
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:
00158231
Vues:
20
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform