RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAppletApplication.OnInit Event

Occurs when the Application is first initialized.

Pascal
property OnInit: TInitEvent;
C++
__property TInitEvent OnInit;

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!