Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timeout when menu selected
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00537799
Message ID:
00537913
Vues:
10
Hi Vlad,

Thanx, that got me part way there. If I'm on a top level pad of the menu this works fine but if I'm on a pad of a submenu, this only closes the submenu. I tried:

KEYBOARD "{ESC}"
KEYBOARD "{ESC}"

This didn't work either. It was like VFP ignored the second one.

I also tried, KEYBOARD '{F10}' PLAIN CLEAR, but this didn't work either. Any other ideas?

>Hi!
>
>Try: Keyboard "{ESC}"
>
>>I use timers in my main prg and forms to time them out after a certain amount of mouse and keyboard activity. This seems to work fine except when the menu is 'active'.
>>
>>For example, if I start my app and just hit {ALT} to be in the menu, the timer's Timer() event will fire (which quits the app) but the app doesn't actually shut down until I 'deactivate' the menu (i.e. press {ALT} again)
>>
>>Any ideas?
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform