System.UITypes.IsNegativeResult

提供: RAD Studio API Documentation
移動先: 案内検索

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 メソッドの戻り値を確認できます。 AModalResultmrNo または mrNoToAll の場合、IsNegativeResultTrue を返します。

関連項目