TCustomForm.CancelControl property
The control associated with the Cancel action.
Declaration
property CancelControl: TControl read FCancelControl write SetCancelControl;Description
Determines the control associated with the Cancel action (which exits from the modal form without changing anything). This is usually a button with the caption 'Cancel', but might be an 'Exit' button or anything else the application programmer decides. This control is selected either by explicitly clicking with the mouse, or by hitting the 'Esc' key.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
