I am trying to contrl keyboard behavior with a custom drop down combo box. If the list is dropped down I want the left arrow key to do a shift+tab (move back in the tab order) and if the list is not open I want uparrow and left arrow to do the same thing. I trap the keystroke in the keypress event for the control and then issue the command:
nodefault
keyboard '{shift+tab}'
and it does not work. If I try :
nodefault
thisform.keypress(9,1) it also does not work. The code works for the right and down arrows but even though I can trace the command focus never moves on the form. What is going on? If you can tell me how to control this I would be most grateful. Thanks:)
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!