Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keyboard shortcuts on form with a treeview on it
Message
 
À
01/08/2001 10:01:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00538290
Message ID:
00538437
Vues:
41
>Hi everybody,
>
>I'm struggeling with a form with a treeview on it. I want to add some keyboard-shortcuts to the form but whenever the treeview is the activecontrol the forms keypress-event isn't triggerd. I've set the forms keypreview-property but its ignored when the treeview is the active control.
>Is there a way to add keyboard shortcuts to the form and if there is, can anyone tell me how to do it?
>
>Everybody please feel free to respond
>
>TIA Erwin
Maybe you could pass your treeview KEYRESS to the form's event handler (a procedure in a PRG or method). However, It seems the TreeView KEPRESS only allows for a single ascii code. The Treeview KEYDOWN (UP) allow for a code as well as a shift signal.
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform