CtlPanel.TAppletApplication.OnInit

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnInit: TInitEvent read FOnInit write FOnInit;

C++

__property TInitEvent OnInit = {read=FOnInit, write=FOnInit};

Properties

Type Visibility Source Unit Parent
event public
CTLPanel.pas
CtlPanel.hpp
CtlPanel TAppletApplication

Description

Occurs when the Application is first initialized.

The OnInit event occurs when the Application receives a CPL_INIT message from the controlling application. The application must return either true or false to determine whether the controlling application should attempt to continue loading this module. The default is to return true, but this value may be overridden by assigning a value to the AppInitOK parameter of the event handler.