Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stuffed Keyboard can't be cleared?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00336097
Message ID:
00337056
Vues:
32
Hi Ken
>
>Are you issuing the CLEAR TYPEAHEAD in the same method/code segement as the KEYBOARD?

nope - gets issued on exiting any form in the app provided that no other form is open. It forces the "Programs" menu to popdown much more reliably than
" activate menu _msysmenu PAD 'PROGRAMS' " for some reason.

>CLEAR TYPEAHEAD will only clear the keystrokes in the buffer.

thats all I want it to do - this command is called on exiting the app back into the deveopment environment command window. I was irritated by the 'P' appearing in the command window

> It will not clear keystrokes that have already been "typed".

me no unnerstand!!

thought the whole point of the command was exactly that - to clear keystrokes that have already been typed but might be inappropriate given the events happening on screen.

I made the assumption that it also ought to clear anything I'd 'poked' into the keyboard buffer using the KEYBOARD command. For some reason I still don't have an explanation for, it does not appear to do that. But its just become a non issue (other than my continuing "academic" interest) as Pete's fix works a treat (he suggested using KEYBOARD "" CLEAR - which, embarrasingly (having now RTFM) was a new one on me )

Regards

Harry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform