General information
Category:
ActiveX controls in VFP
Title:
KeyPreview doesn't work with Treeview on form
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only