Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem attempting to keyboard shift+tab
Message
De
09/02/1999 06:26:29
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
08/02/1999 17:14:43
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00185297
Message ID:
00185431
Vues:
25
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform