JVCL Help:TJvPlugIn.OnInitialize

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

Search in JVCL Help

 
Search in all projects
 

Summary

Event called when the host initializes the plugin.


Pascal

 TPluginInitializeEvent = procedure (Sender: TObject; var AllowLoad: Boolean) ofobject;
propertyOnInitialize: TPluginInitializeEvent;


Parameters

Parameters Description
AllowLoad Flag to indicate if the plugin may load. Set this parameter to False to prevent the plugin from being loaded.
Sender Reference to the plugin.


Description

Write an OnInitialize event handler to perform any additional setup steps. When this event is called, the HostApplication, Manager and FileName properties are already initialized and can thus be used by the event.
The event is called in response to a call to Initialize, which is usually done by the host application as soon as the plugin is loaded.


See Also

TJvPlugIn.Initialize, TJvPlugIn.OnConfigure


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