System.UITypes.IsNegativeResult
Delphi
function IsNegativeResult(const AModalResult: TModalResult): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall IsNegativeResult(const TModalResult AModalResult);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | System.UITypes.pas System.UITypes.hpp |
System.UITypes | System.UITypes |
Description
Checks whether the AModalResult parameter indicates that the user has selected No or No to All.
Use IsNegativeResult to check the return value from the ShowModal method.
IsNegativeResult returns True if AModalResult is mrNo or mrNoToAll.