TcxCheckListBoxItems.IndexOf(TCaption) Method
Returns the index position of an item in the current collection.
Declaration
function IndexOf(const S: TCaption): Integer;
Parameters
Name | Type |
---|---|
S | TCaption |
Returns
Type |
---|
Integer |
Remarks
The IndexOf function returns the zero-based index position of the item whose caption matches the string representation specified by the S parameter. Otherwise, it returns -1. The text comparison is case insensitive.
See Also