Vcl.AppEvnts.TApplicationEvents.OnModalBegin

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

Delphi

property OnModalBegin: TNotifyEvent read FOnModalBegin write FOnModalBegin;

C++

__property OnModalBegin;

プロパティ

種類 可視性 ソース ユニット
event published
Vcl.AppEvnts.pas
Vcl.AppEvnts.hpp
Vcl.AppEvnts TApplicationEvents

説明

モーダル フォームを開くときに発生します。

Vcl.AppEvnts.TApplicationEvents.OnModalBegin は Vcl.AppEvnts.TCustomApplicationEvents.OnModalBegin を継承しています。以下の内容はすべて Vcl.AppEvnts.TCustomApplicationEvents.OnModalBegin を参照しています。

モーダル フォームを開くときに発生します。

OnModalBegin イベント ハンドラを記述すると、モーダル フォームが開かれた際に、特別な処理を実行させることができます。

メモ: CancelDispatch メソッドを OnModalBegin イベント ハンドラから呼び出すと、アプリケーションが、他のアプリケーションのイベント オブジェクトへ、イベントを転送することを抑制することができます。

OnModalBegin は、TNotifyEvent 型のイベント ハンドラです。

関連項目