JVCL Help: TJvPlugIn.Initialize Method
- Project summary
Search in JVCL HelpSearch in all projects
Initializes the plugin.
functionInitialize(Manager: TComponent; HostApplication: TApplication; FileName: string): Boolean; virtual; stdcall;
|Manager: TComponent||Reference to the host application's plugin manager component.|
|HostApplication: TApplication||Reference to the Application variable of the host.|
|FileName: string||Name of the DLL or package the plugin is loaded from. This may contain CustomPlugin if the plugin is loaded as a custom plugin.|
Initialize is called by the host application to initialize the plugin.
As a plugin developer you could override this method, but it's better to just assign a handler to the OnInitialize event. The returned value will be that of the event's AllowLoad parameter.
As a host application developer you will generally not call this method yourself. Initialize is called automatically when the plugin manager loads the plugin.
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page