API:Vcl.AppEvnts.TApplicationEvents.OnModalBegin
Delphi
property OnModalBegin;
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 型のイベント ハンドラです。