Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert VB keycode to asci
Message
From
24/02/2003 15:41:58
 
 
To
24/02/2003 15:28:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00757107
Message ID:
00757202
Views:
12
>Never used VB, so maybe I'm off the mark, but why can't you just pass the parameters given? Failing that, put a wait window in the ActiveX keypress with the ASC(), and the same call in the form.keypress.
>
>Chris.

hi chris

the activeX TreeView does not give me the keycode as an Asci code. after research i found that it is actualy VBKeyCode. for example: user presses an "a" it will be returned as an "A" (code: 65), a 1 as a 1, but a "-" as "¨`" (code: 189). since i need asci code in the keypress of the form i've got a problem.
and for some reason the activeX does not allow the form to preview the keypress event, so i need to foreward the event manualy to the form.
Previous
Reply
Map
View

Click here to load this message in the networking platform