Links
EControl Form Designer Pro
TBtnEdit.KeyPress Method

Overrides the inherited method.

procedure KeyPress(var Key: Char); override;

If Key parameter is VK_ESCAPE or VK_RETURN it

  • notify parent form
  • if Key is equal to VK_RETURN then calls inherited method and cleanse Key

Else it just calls inherited method.

Copyright (c) 2004 - 2011 EControl Ltd.. All rights reserved.
What do you think about this topic? Send feedback!