Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keyboard shortcuts on form with a treeview on it
Message
 
To
01/08/2001 10:01:44
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00538290
Message ID:
00538437
Views:
42
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform