TMethodList class
Implements a list of TMethod entries.
Declaration
TMethodList = classDescription
TMethodList is class which implements a list of TMethod entries.
TMethodList is implemented using an array of TMethod references that provide
access to the Items in the list. Methods are provided to Add, Insert, Delete,
and Move items in the list. Enumerators (forward and reverse) are also
available for methods in the list.
TMethodList is used in the Lazarus IDE, plugins, and utilities such as: TComponentEditorDesigner, TCodeToolManager, TLazIDEInterface, TLazCompilerOptions, TDebuggerIntf, TGUITestRunner. It is also used in the implementation of Classes and Components like: TFreeNotifyingObject, TApplication, TCustomForm, TControl, TDateTimePicker, TLazSynTextArea, TSynCustomHighlighter, TSynGutterBase, and many more.
See also
Properties
Items | public | Provides indexed access to methods in the list. |
AllowDuplicates | public | Indicates if duplicate methods are allowed in the list. |
Methods
Destroy | public | Destructor for the class instance. |
Count | public | Gets the number of items included in the method list. |
NextDownIndex | public | Provides access to items in the method list in reverse order. |
IndexOf | public | Gets the position where the specified method is stored in the list. |
Assign | public | Copies property values from Source into the current class instance. |
Clear | public | Clears the values in Items by Reallocating memory for the property with a length of 0 bytes. |
Delete | public | Deletes the method stored at the specified position. |
Remove | public | Removes the specified method from the items in the list. |
Add | public | Adds the specified method to the list. |
Insert | public | Inserts the specified method at the given position in the list. |
Move | public | Moves the position for the specified method in the list. |
RemoveAllMethodsOfObject | public | Removes methods from the list if they are for the specified object. |
CallNotifyEvents | public | Performs event notifications using methods in the list. |
GetReversedEnumerator | public | Gets an enumerator for the list that navigates in reverse order. |
GetEnumerator | public | Gets an enumerator for the list. |
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
