Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Top Form
Message
 
 
À
27/09/2003 12:59:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00832938
Message ID:
00833102
Vues:
21
>Have a top level form, modeless with timer. The main program continues, calls the menu. Once the top level form closes I want to display a specific menu option. Tried keyboarding a hot key for the menu option but no result.
>
>How do I do this?
>

Ken,
In the form's Destroy, you could create a public variable or use a private variable created prior to the form. Store a Timer object to the varible that has code in the Tinmer event to execute the menu option or better yet, call the same form/procedure the menu option calls. The form will complete the exiting process and the timer will fire after the form goes away.

This techinique is used in Visual MaxFrame Professional to handle some key functions. It is referred to as a "Hand Grenade".

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform