JVCL Help:TJvPluginManager.OnNewCommand

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 for each command of a loaded plugin.


Pascal

 TNewCommandEvent = procedure (Sender: TObject; ACaption, AHint, AData: string; AShortCut: TShortCut; ABitmap: TJvBitmap; AEvent: TNotifyEvent) ofobject;
propertyOnNewCommand: TNewCommandEvent;


Parameters

Parameters Description
AShortCut Description for this parameter
ABitmap The value of the command's Bitmap property.
AEvent The value of the command's OnExecute event.
AData The value of the command's Data property.
Sender Reference to the plugin manager component.
ACaption The value of the command's Caption property.
AHint The value of the command's Hint property.


Description

Write an OnNewCommand event handler to register a command in a loaded plugin. The event will be called for each command in each loaded plugin. The parameters contain the values of their respective properties in the command.


See Also

TJvPluginManager.LoadPlugins, TJvPluginManager.OnAfterLoad, TJvPluginManager.OnBeforeLoad, TJvPluginManager.OnPlugInError


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