JVCL Help:TJvInspectorTMethodItem.DeleteMethod@Integer@Integer
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvInspectorTMethodItem.DeleteMethod Method (Integer, Integer)
[+] TJvInspectorTMethodItem Methods
[+] TJvInspectorTMethodItem Properties
Search in JVCL Help
Search in all projectsSummary
Removes an event handler from the list of event handlers.
Pascal
procedureDeleteMethod(constMethod: TMethod); overload;
procedureDeleteMethod(constInstanceIndex: Integer; constIndex: Integer); overload;
procedureDeleteMethod(constInstance: TObject; constIndex: Integer); overload;
procedureDeleteMethod(constInstanceName: string; constIndex: Integer); overload;
procedureDeleteMethod(constInstanceIndex: Integer; constMethodName: string); overload;
procedureDeleteMethod(constInstance: TObject; constMethodName: string); overload;
procedureDeleteMethod(constInstanceName: string; constMethodName: string); overload;
Parameters
Parameters | Description |
const Method: TMethod | Method pointer to delete. The method pointer provides a Data address (the instance) and a Code address (the address of the handler). |
const InstanceIndex: Integer | 0-based index in the list of added instances of the instance of the handler to delete. |
const Index: Integer | 0-based index of the handler to delete. |
const Instance: TObject | TObject instance of the handler to delete. If the specified instance does not exist, an exception is raised. |
const InstanceName: string | Name (case insensitive) of the instance of the handler to delete. If the specified instance does not exist, an exception is raised. |
const MethodName: string | Name (case insensitive) of the handler to delete. If the specified handler does not exist within the specified instance, an exception is raised. |
Description
DeleteMethod removes an event handler from the list of event handlers. There are seven overloaded versions of this method that allow various combinations of specifying the instance and/or handler to delete.
See Also
TJvInspectorTMethodItem.DeleteInstance, TJvInspectorTMethodItem.AddMethod, TJvInspectorTMethodItem.ClearMethods, 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