Num Lock Key Toggles Off

B

BillIN1

I have a bound form that contains a list box that searches for a contact.
When the form first loads, and I do the first search in the list box, the num
lock key shuts off when the search results appear in the list box. The user
has to turn the num lock key back on. This usually does not happen on
succeeding searches in the list box.
This is very annoying. I'm not sure if the problem is with the list box
query, or with the bound form. Does anyone have any idea about this strange
behavior?
 
D

Daryl S

BillIN1 -

Could you have either code or a macro that does a sendkeys with {NUMLOCK}?
Search your code (the whole project) and your macros for NUMLOCK to see if
you can find it...
 
D

Dirk Goldgar

BillIN1 said:
I have a bound form that contains a list box that searches for a contact.
When the form first loads, and I do the first search in the list box, the
num
lock key shuts off when the search results appear in the list box. The
user
has to turn the num lock key back on. This usually does not happen on
succeeding searches in the list box.
This is very annoying. I'm not sure if the problem is with the list box
query, or with the bound form. Does anyone have any idea about this
strange
behavior?


Do you by any chance use the SendKeys statement in code, or the SendKeys
macro action?
 
D

Dirk Goldgar

Daryl S said:
BillIN1 -

Could you have either code or a macro that does a sendkeys with {NUMLOCK}?
Search your code (the whole project) and your macros for NUMLOCK to see if
you can find it...


SendKeys has, or at least had, a bug that would sometimes toggle NumLock
even if you didn't tell it to send the {NUMLOCK} key. That may be fixed
now, but I haven't heard that it is.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top