Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
KeyPreview doesn't work with Treeview on form
Message
From
25/07/2001 08:09:38
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
KeyPreview doesn't work with Treeview on form
Miscellaneous
Thread ID:
00534876
Message ID:
00534876
Views:
59
Hi Everybody,

I've got a curious problem. I'm building a form with an ActiveX-treeview-control on it. I've set the forms KeyPreview-property to .T. so that every key-stroke will go through the forms KeyPress-event. But when the treeview is the active control it's not the forms-KeyPress-event that's triggerd but the treeview-KeyPress-event.
Does anybody know how to bypass this without losing the functionality on the treeview?

I want to do this because I want to add some shortcuts to the form, they are essential in the forms functionality.

Hope to hear from anybody soon,
T.I.A. Erwin
Next
Reply
Map
View

Click here to load this message in the networking platform