>Hello,
>
>I have a form class with a treeview on the form, and the Keypreview property of the form is set to .T.
>
>As soon as the focus is on the treeview, the KeyPress() even of the form does not fire.
>
>The keypress on the treeview does fire, but not for F-keys, so the forwarding of the event does not work.
try to trap treeview.keydown or keyup events.
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer