JVCL Help:TJvInspectorTMethodItem.ClearMethods@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 all event handlers from the list of event handlers.


Pascal

 procedureClearMethods(constInstanceIndex: Integer); overload;
procedureClearMethods(constInstance: TObject); overload;
procedureClearMethods(constInstanceName: string); overload;


Parameters

Parameters Description
const InstanceIndex: Integer 0-based index in the list of added instances of the instance for which all handlers are to be removed.
const Instance: TObject TObject instance for which to delete all handlers. If the specified instance does not exist, an exception is raised.
const InstanceName: string Name (case insensitive) of the instance for which to delete all handlers. If the specified instance does not exist, an exception is raised.


Description

ClearMethods removes all event handlers from the list of event handlers. There are three overloaded versions of this method. You can specify an index of an instance, the instance itself or the name of the instance for which you want to remove all handlers.


See Also

TJvInspectorTMethodItem.AddMethod, TJvInspectorTMethodItem.DeleteMethod, TJvInspectorTMethodItem.IndexOfMethod


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