Skip to main content

TcxControlOptionsFindPanel.MRUItems Property

Provides access to the list of the most recently used search strings (MRU list for short) in the Find Panel‘s Find box.

Declaration

property MRUItems: TStrings read; write;

Property Value

Type
TStrings

Remarks

An MRU list maintains a search history and thus allows a user to select a recent search request and apply it again. A user can click the Find box’s MRU list button to invoke the drop-down list that displays recent search requests. The panel shows the button if the list is not empty.

The Find Panel adds a string to the MRU list if a user presses Enter or one of the following occurs:

Search Type

Condition

Delayed Automatic

A user clicks the Find button (in filter mode).

The search starts when the Find box is not focused.

Manual

A user moves focus from the Find box via the mouse or the Tab/Shift+Tab key combination and the FocusContentOnApplyFilter property value is set to True.

A user presses the Down Arrow key when the Find box’s drop-down list is closed and the FocusContentOnApplyFilter property value is set to False.

The Find Panel always adds a string at the MRU list’s beginning if the string is new or matches any of the previously used list items. The list deletes the item if its index exceeds the MRUItemsListCount property value.

See Also