Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to capture keystrokes in treeview
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00935313
Message ID:
00935361
Views:
25
In addtion to Peter's suggestion, you must use the nKeyCode associated with the nShiftAltCtrl. When you look at the INKEY() table, you will notice that nKeyCode varies with nShiftAltCtrl.

>I just checked. The parameters are different. How does keyascii relate to nKeycode, nShiftAltCtrl ?
>
>
>
>>>I have a form with a treeview on a pageframe on one side and a browser control on the rest of the form.
>>>The tree shows items to select, the browser shows pictures about the item.
>>>
>>>I want to randomly show items in the browser (in a kiosk setting) and if a user walks up to the machine and presses a key stop the timer and let the user make a selection in the tree
>>>
>>>After now keypresses of about xx minutes the timer should kick in and displey randon pics in the browser control
>>>
>>>
>>>Can that be done? And how? :-)
>>
>>Both the Treeview control and the form have a Keypress() event. Won't that do?
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform