Information générale
Catégorie:
Contrôles ActiveX en VFP
Titre:
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement