>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