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

TCustomListView.FindCaption

FindCaption- search for and return the list item that contains the nominated caption

Declaration

Source position: comctrls.pp line 1156

public function TCustomListView.FindCaption(

  StartIndex: Integer;

  Value: String;

  Partial: Boolean;

  Inclusive: Boolean;

  Wrap: Boolean;

  PartStart: Boolean = true

):TListItem;

Description

FindCaption- search for and return the list item that contains the nominated caption

Starting from item with StartIndex

Looking for the string Value

Partial, Inclusive, Wrap, PartStart: Boolean arguments allowing matches with part of the string, permitting the string to wrap over a line, etc

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