Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem attempting to keyboard shift+tab
Message
From
09/02/1999 06:26:29
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
08/02/1999 17:14:43
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00185297
Message ID:
00185431
Views:
26
>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:)

Try keypress(15,1) - 15 is the InKey() code for backspace. Yes, I know it's shifted, but nevertheless it doesn't make it (9,1), it's either (15,1) or (15,0) or even (15, don't care).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform