RAD Studio |  |

Button Controls
See Also
Collapse All

Users click button controls to initiate actions. You can assign an action to a TButton component by creating an OnClick event handler for it. Double-clicking a button at design time takes you to the button's OnClick event handler in the Code editor.

- Set Cancel to True if you want the button to trigger its OnClick event when the user presses Esc.
- Set Default to True if you want the Enter key to trigger the button's OnClick event.

See Also

TButton

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!