Determines whether the button's OnClick event handler executes when the Escape key is pressed.
property Cancel: Boolean;
__property Boolean Cancel;
If Cancel is true, the button's OnClick event handler executes when the user presses Esc. Although an application can have more than one Cancel button, the form calls the OnClick event handler only for the first visible button in the tab order.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!