Vcl.AppEvnts.TApplicationEvents.OnModalBegin
Delphi
property OnModalBegin: TNotifyEvent read FOnModalBegin write FOnModalBegin;
C++
__property OnModalBegin;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.AppEvnts.pas Vcl.AppEvnts.hpp |
Vcl.AppEvnts | TApplicationEvents |
Description
Occurs when a modal form is opened.
Vcl.AppEvnts.TApplicationEvents.OnModalBegin inherits from Vcl.AppEvnts.TCustomApplicationEvents.OnModalBegin. All content below this line refers to Vcl.AppEvnts.TCustomApplicationEvents.OnModalBegin.
Occurs when a modal form is opened.
Write an OnModalBegin event handler to perform special processing when a modal form is opened.
Note: Call the CancelDispatch method from an OnModalBegin event handler to prevent the application from forwarding the event to any other application events objects.
OnModalBegin is an event handler of type TNotifyEvent.