Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
KeyPreview doesn't work with Treeview on form
Message
De
25/07/2001 08:09:38
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
KeyPreview doesn't work with Treeview on form
Divers
Thread ID:
00534876
Message ID:
00534876
Vues:
60
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
Fil
Voir

Click here to load this message in the networking platform