[Overview][Types][Classes][Index] Reference for unit 'DynamicArray' (#lazutils)

TOnNotifyItem

Specifies and event handler signalled when an item is added to or removed from TPointerPointerArray.

Declaration

Source position: dynamicarray.pas line 28

type TOnNotifyItem = procedure(

  Sender: TObject;

  Col: Integer;

  Row: Integer;

  var Item: Pointer

) of object;

Arguments

Sender

  

Instance of the TArray that causes the event.

Col

  

The Col number for the event.

Row

  

The Row number for the event.

Item

  

Pointer to the Item date for the event.

Description

TOnNotifyItem is the type used for the OnDestroyItem and OnNewItem properties in TPointerPointerArray.

See also

TPointerPointerArray.OnDestroyItem

  

Performs actions needed when the Pointer in an array element is removed from the array.

TPointerPointerArray.OnNewItem

  

Performs actions needed when a new Pointer is needed for an array element added to a column or row in the array.


Version 4.0 Generated 2025-05-03 Home