CtlPanel.TAppletApplication.OnInit

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: event
Visibility: public
Source:
CTLPanel.pas
CtlPanel.hpp
Unit: CtlPanel
Parent: TAppletApplication

Delphi

property OnInit: TInitEvent read FOnInit write FOnInit;

C++

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

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.