[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Value returned when the control is clicked in a modal form.
Source position: stdctrls.pp line 1256
public property TCustomButton.ModalResult : TModalResult |
ModalResult is a TModalResult property used to provide the modal result value when the button control is clicked in a modal form.
The value in ModalResult is used in the Click method to update the ModalResult value in the parent form (when assigned). The default value for the property is mrNone, and indicates that the property value is not used as a modal result in the Click method.
By convention, the value in ModalResult is associated with the usage and caption for the button control. Common values and usage in ModalResult includes:
Version 4.0 | Generated 2025-05-03 | Home |