title: Is it possible to add custom functionality to a delphi component to be triggered if a specific key is pressed?
body: <p>On my application I have several TDbLookup components and on everyone of them I have to add a procedure that closes and then open again the lookup Query, on the Key Press Event.</p>
  
  <p>So I was wondering:</p>
  
  <p>How can I customize a descendent of TDbLookup component, in order to have a boolean property available on Object Inspector, that I can enable to accomplish this?</p>
  
  <p>If set to true, with focus on the TDbLookup , pressing F5 key, closes and then open the lookup query again.</p>
  
  <p>Is it possible?</p>