JVCL Help:TJvPlugIn.Initialize

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Initializes the plugin.


Pascal

 functionInitialize(Manager: TComponent; HostApplication: TApplication; FileName: string): Boolean; virtual; stdcall;


Parameters

Parameters Description
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.


Description

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.


See Also

TJvPlugIn.OnInitialize


About

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