Skip to main content

TcxCustomMRUEditProperties.OnDeleteLookupItem Event

Occurs before an MRU editor removes the last item from the dropdown list.

Declaration

property OnDeleteLookupItem: TcxMRUEditDeleteLookupItemEvent read; write;

Remarks

This event is fired provided that the MaxItemCount property is assigned a value greater than 0 and a new item is added to the LookupItems list, which already contains MaxItemCount items. In this instance, the last item is removed from the list. The index of the item being removed is passed as the event’s AItemIndex parameter. The AProperties parameter allows you to access the properties of the MRU editor.

See Also