Skip to main content

TcxDataFindCriteria.AddItem(Integer) Method

Adds the specified item to the search sources.

Declaration

procedure AddItem(AItemIndex: Integer);

Parameters

Name Type
AItemIndex Integer

Remarks

All items visible in a container control are available as search sources. Call this procedure and pass a hidden item’s index as the AItemIndex parameter to add the item to the list of search sources. If the item is already available as a search source or there is no such item in the data controller, an AddItem procedure call has no effect.

Note

A container control can independently manage the list of items used as search sources.

See Also