Logged out, click to login

JEDI Online help - Details



Back to unit JvPluginManager.pas Back Edit Search Administration

TJvPluginManager.OnBeforeLoad

Summary
Event called just before a plugin is loaded.

Parameters
Sender - Reference to this plugin manager
FileName - Name of the package or DLL to load
AllowLoad - Flag to indicate if the plugin should be loaded. Set this to False to prevent the plugin from loading.

Description
Write an OnBeforeLoad event handler to take additional action before a plugin is loaded. The Filename parameter contains the filename of the plugin about to be loaded. Set AllowLoad to False to prevent the plugin from being loaded (in which case the OnAfterLoad will not be triggered).<br> <br> The OnBeforeLoad event will only occur when LoadPlugins is used to scan for and load all plugins in a folder.<br>

See Also
TJvPluginManager.LoadPlugins, TJvPluginManager.OnAfterLoad, TJvPluginManager.OnNewCommand,
TJvPluginManager.OnPlugInError

Last changed by obones on 2009-01-05 14:58:46 CET

Copyright (c) 2004 by the JVCL Team; all rights reserved
Uses PclZip by phpconcept and parts of the PEAR library