[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TCustomListView.GetNextItem

Gets the next list item in the given direction from the starting item.

Declaration

Source position: comctrls.pp line 1626

public function TCustomListView.GetNextItem(

  StartItem: TListItem;

  Direction: TSearchDirection;

  States: TListItemStates

):TListItem;

Description

GetNextItem is a TListItem function used to find the next list item after StartItem in the direction given by the Direction parameter. Only items in the state indicated by the States parameter are considered. If no item is found, Nil is returned.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.