JVCL Help:TJvPluginManager.SendMessage

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

Search in JVCL Help

Search in all projects


Broadcasts a message to all loaded plugins.


 procedureSendMessage(PluginMessage: Longint; PluginParams: string); deprecated;


Parameters Description
PluginMessage: Longint ID of the message to send. As a host developer you can define these yourself.
PluginParams: string String containing additional parameters for the message. As a host developer you determine the meaning of this string.


SendMessage will broadcast the specified message to all loaded plugins. It does so by calling SendPluginMessage for each plugin in the Plugins array.
If you want to send a message to a specific plugin, you can use Plugins[<index>].SendPluginMessage(<message ID>,<message text>); As a host developer you are responsible of defining and documenting the messages your application may send. You should make this public so plugin developers can use this information.

See Also

TJvPlugIn.SendPluginMessage, TJvPluginManager.PluginCount, 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