JVCL Help:TJvPluginManager.LoadPlugin

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

Search in JVCL Help

Search in all projects


Loads a plugin.


 procedureLoadPlugin(FileName: string; PlgKind: TPluginKind);


Parameters Description
FileName: string Name of the DLL or package to load.
PlgKind: TPluginKind Type of plugin (either plgDLL or plgPackage).


LoadPlugin will load the specified filename and treat it as the specified plugin type. If the file is not a valid plugin or an error occurs during loading and/or initializing, an exception will be raised.
For each command the plugin provides, the OnNewCommand event is called.

See Also

TJvPluginManager.LoadPlugins, TJvPluginManager.Plugins


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