Discussion:
How to add a KeyPress event on TPaintBox?
(too old to reply)
didan
2008-05-19 21:03:11 UTC
Permalink
Hi,
There is no onKeyPress event for TPaintBox. Is there any way to
add one? Could you please give me a sample code?
Thanks!
Remy Lebeau (TeamB)
2008-05-19 21:22:57 UTC
Permalink
Post by didan
There is no onKeyPress event for TPaintBox.
TPaintBox is not a TWinControl descendant. It cannot receive input focus.
Thus, the user cannot type into it at all, and so there is no point for it
to have OnKey... events.


Gambit

Loading...