Vcl.AppEvnts.TCustomApplicationEvents.OnModalBegin

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnModalBegin: TNotifyEvent read FOnModalBegin write FOnModalBegin;

C++

__property System::Classes::TNotifyEvent OnModalBegin = {read=FOnModalBegin, write=FOnModalBegin};

Properties

Type Visibility Source Unit Parent
event protected
Vcl.AppEvnts.pas
Vcl.AppEvnts.hpp
Vcl.AppEvnts TCustomApplicationEvents

Description

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.

See Also