System.UITypes.IsNegativeResult
Delphi
function IsNegativeResult(const AModalResult: TModalResult): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall IsNegativeResult(const TModalResult AModalResult);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.UITypes.pas System.UITypes.hpp |
System.UITypes | System.UITypes |
説明
ユーザーが[いいえ]か[すべていいえ]を選択したことを AModalResult
パラメータが示しているかどうかを確認します。
IsNegativeResult を使用すると、ShowModal メソッドの戻り値を確認できます。
AModalResult
が mrNo
または mrNoToAll
の場合、IsNegativeResult は True
を返します。