Sign in Join
FPDoc Onlineexperiment

TMethodList.NextDownIndex function

Member of TMethodListpublicIn unit LazMethodList

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

Declaration

pascal
function 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.