[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Specifies the return value for a form (or dialog) displayed modally.
Source position: forms.pp line 796
public property TCustomForm.ModalResult : TModalResult |
ModalResult is a TModalResult property which contains the value derived when the form is displayed modally. Setting a new value for the property causes the widgetset class to be notified when a handle has been allocated for the form.
The value in ModalResult is updated when the ShowModal method is called for the form instance. It is updated in the CloseModal method when CloseQuery is False and CloseAction is caNone. Finally, it is set to mrCancel in the Close method when FormState contains the value fsModal.
See TModalResult for more information about the enumeration values and their meanings.
|
Dummy type for the values that can be returned as a modal result. |
|
|
Displays the form as a modal dialog. |
|
|
Closes the form. |
|
|
State flags for the form. |
|
|
Asks the OnCloseQuery handler whether the form can be closed. |
Version 3.2 | Generated 2024-02-25 | Home |