JVCL Help:TJvInspectorTMethodItem.DeleteInstance@Integer

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

Search in JVCL Help

 
Search in all projects
 

Summary

Removes an event instance from the instance list.


Pascal

 procedureDeleteInstance(constIndex: Integer); overload;
procedureDeleteInstance(constInstance: TObject); overload;
procedureDeleteInstance(constInstanceName: string); overload;


Parameters

Parameters Description
const Index: Integer 0-based index in the list of added instances of the instance to delete.
const Instance: TObject TObject instance to delete. If the specified instance does not exist, an exception will be raised.
const InstanceName: string Name (case insensitive) of the instance to delete. If the specified instance does not exist, an exception will be raised.


Description

DeleteInstance removes an event instance from the list of instances. Deleting an instance will result in deleting all handlers added to this instance. There are three overloaded versions of this method. You can delete an instance based on its position in the list, by providing a TObject instance or by specifying its name.


See Also

TJvInspectorTMethodItem.DeleteMethod, 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