Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomColorComboBoxProperties.OnDeletedMRUColor Event

In This Article

Fires when a color is removed from the most recently used list.

#Declaration

Delphi
property OnDeletedMRUColor: TNotifyEvent read; write;

#Remarks

The number of colors that can reside in the most recently used list is specified by the MaxMRUColors property. If the number of colors residing in this list is equal to this property value, then selecting a color that is not in the list will delete the oldest item. Also, the oldest item(s) of the most recently used list can be deleted if the MaxMRUColors property value is reduced sufficiently. In all these cases, the OnDeletedMRUColor event is raised.

You can handle the OnDeletedMRUColor event, for instance, to synchronize the most recently used lists of several combo boxes. See the OnAddedMRUColor event description for details.

See Also