Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Top Form
Message
 
 
To
27/09/2003 12:59:16
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00832938
Message ID:
00833102
Views:
22
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform