[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Gets the next list item in the given direction from the starting item.
Source position: comctrls.pp line 1642
public function TCustomListView.GetNextItem( |
StartItem: TListItem; |
Direction: TSearchDirection; |
States: TListItemStates |
):TListItem; |
StartItem |
|
Initial list item used to find the eligible item. |
Direction |
|
Direction of the search for the next list item. |
States |
|
Set of states values for eligible list items in the search. |
Next list item in the specified direction.
GetNextItem is a TListItem function used to find the next list item after StartItem in the direction given by the Direction parameter. Only items which include the state values in the States parameter are considered.
GetNextItem calls the corresponding method in the widgetset class instance to get the TListItem which meets the specified search criteria. If no list item is found for the search criteria, the return value is Nil.
|
Represents the items created in TCustomListView and descendants. |
|
|
Represents a search direction used to locate the list view item that is the nearest match. |
|
|
Represents state values for items in a list view control. |
|
|
Set type used to store value(s) from the TListItemState enumeration. |
Version 3.2 | Generated 2024-02-25 | Home |