[Lazarus] intercepting keyboard events
Michael Van Canneyt
michael at freepascal.org
Mon May 8 17:42:11 CEST 2017
Hi,
How can I respond to keyboard events in a TCustomControl
(and hence TWinControl) descendent ?
I have asigned the various OnKey* events handlers but they are not called.
My control also does not seem to receive focus when clicked, I assume this is why
it doesn't get keyboard events either ?
Is there something that must be called/set when creating the control to make
it receive focus ?
Michael.
More information about the Lazarus
mailing list