JVCL Help:TJvInspectorTMethodItem.AddInstance

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

Search in JVCL Help

 
Search in all projects
 

Summary

Adds an event instance to the instance list.


Pascal

 procedureAddInstance(constInstance: TObject; constInstanceName: string);


Parameters

Parameters Description
const Instance: TObject TObject instance to add.
const InstanceName: string Name of the instance. AddInstance will not check if the specified object is a TComponent (or descendant) to retrieve the name. You should do so yourself in the call to this method.


Description

AddInstance adds an event instance to the list of instances, providing it with a name. Before you can add any method you should add and name the instance to which the method belongs. After you have added the instance you can add methods to the instance using any one of the AddMethod methods.


See Also

TJvInspectorTMethodItem.AddMethod, TJvInspectorTMethodItem.DeleteInstance, TJvInspectorTMethodItem.IndexOfInstance


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