Re: KeyPreview doesn't work with Treeview on form Thread #
534876 Message #
534888>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.
>
>Does anybody know a workaround for this problem?
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"