[lazarus] Silly code message handling question

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Nov 22 19:25:25 EST 2003


On Mon, 10 Nov 2003 19:00:20 -0600  Tony Maro <tony at maro.net> wrote:

> Mattias Gaertner wrote:
> 
> >>How can I only make use of the keys that I want, and pass the remaining 
> >>on to the parent component(s)?
> >>
> >1. You can override DoKeyUp instead.
> >2. Did you add an 'inherited'? 
> >  
> >
> 
> 1) - When I try that I get "There is no method in an ancester class to 
> be overridden".  (it's not virtual...?)

Sorry. I ment KeyDown, KeyUp and KeyPress.
To mark the "key" as used, set it to VK_UNKNOWN. 

What do you mean with "on to the parent component(s)"?


Mattias






More information about the Lazarus mailing list