MaxItemCount Property

Applies to TestComplete 15.64, last modified on June 12, 2024

Specifies the maximum number of items the component can store.


Read-Write Property Boolean
componentPropObj     One of the objects listed in the Applies To section  

Applies To

This property applies to the following objects:



Use the MaxItemCount property to specify the maximum number of values the component can store. If the total number of values exceed the MaxItemCount, recently added values will push older values out of the list. By default, MaxItemCount is 0 and means that the component does not limit the number of stored values.

Do not confuse the MaxItemCount property with the LookupItems.Count property. The latter specifies the current number of stored values, while MaxItemCount specifies the maximum allowed number.

Property Value

An integer value that specifies the maximum number of values that can be stored in the TcxMRUEdit component.

See Also

TcxMRUEdit Object
LookupItems Property

Highlight search results