FindCaption method
|
acListView and acDBListView components.
|
function FindCaption(const Caption: String): TListItem;
|
The FindCaption function finds the list item, if any, with specified caption. This is another, overloaded variation of standard FindCaption method, but much simplified.
|
The Caption parameter can be case insensitive, so, for example, if you search for "tEsT", the function can return the list item where caption is "Test".
|
This type of FindCaption method exists only in Delphi 4/C++ Builder 4 and higher.
|
{$IFDEF D4}
|
function TacCustomListView.FindCaption(const Caption: String): TListItem;
|
begin
|
Result := inherited FindCaption(0, Caption, False, True, False);
|
end;
|
{$ENDIF}
|
GetColumnAt method.
|