Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to capture keystrokes in treeview
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00935313
Message ID:
00935361
Vues:
26
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform