[Overview][Classes][Procedures and functions][Index] Reference for unit 'LazMethodList' (#lazutils)

TMethodList.NextDownIndex

Provides access to items in the method list in reverse order.

Declaration

Source position: lazmethodlist.pas line 48

public function TMethodList.NextDownIndex(

  var Index: Integer

):Boolean;

Arguments

Index

  

Ordinal position for the next item.

Function result

True when Index is in the range needed to access Items.

Description

NextDownIndex is a Boolean function which provides access to Items in the list in reverse order. NextDownIndex ensures that the variable parameter in Index is decremented, and remains in range for the number of methods in the Items property. The return value is True when the updated value in Index is a valid ordinal position in Items. The return value is False when Index contains -1.

NextDownIndex is used in the implementation of the CallNotifyEvents method.

See also

TMethodList.Items

  

Provides indexed access to methods in the list.

TMethodList.CallNotifyEvents

  

Performs event notifications using methods in the list.


Version 4.0 Generated 2025-05-03 Home