Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview on form suppresses KeyPress() even
Message
From
09/12/2005 11:22:45
 
 
To
09/12/2005 10:22:50
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Novell 4.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01076600
Message ID:
01076626
Views:
18
>Hello,
>
>I have a form class with a treeview on the form, and the Keypreview property of the form is set to .T.
>
>As soon as the focus is on the treeview, the KeyPress() even of the form does not fire.
>
>The keypress on the treeview does fire, but not for F-keys, so the forwarding of the event does not work.

try to trap treeview.keydown or keyup events.
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer
Previous
Reply
Map
View

Click here to load this message in the networking platform