FMX.Controls.TPopup.ModalResult
Delphi
property ModalResult: TModalResult read FModalResult write SetModalResult;
C++
__property System::Uitypes::TModalResult ModalResult = {read=FModalResult, write=SetModalResult, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.Controls.pas FMX.Controls.hpp |
FMX.Controls | TPopup |
Description
Determines whether and how the TPopup closes its modal form.
TModalResult describes possible values of ModalResult.
You can check a ModalResult value using the global IsAbortResult, IsAnAllResult, IsNegativeResult, or IsPositiveResult functions and use the StripAllFromResult function to convert the ModalResult value from a constant that refers to "all" to the corresponding simple constant.