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

TdxBarManager.MenusShowRecentItemsFirst Property

Determines whether the most recently used items are placed in menus above all others.

#Declaration

Delphi
property MenusShowRecentItemsFirst: Boolean read; write; default True;

#Property Value

Type Default
Boolean True

#Remarks

The items in a menu can be displayed in order of creation or according to when they were last used. If the MenusShowRecentItemsFirst property is set to True (by default), the most recently used items are displayed higher in the menu. The remaining menu items are suppressed and not displayed. If the MenusShowRecentItemsFirst property is set to False, all the menu items are displayed in order of creation.

The most recently used items are determined by the MostRecentItemsPercents property, which specifies the border between the most recently used items, which are placed at the menu’s top, and the remaining items, which are hidden. The hidden items can be automatically displayed in a menu after a delay if the ShowFullMenusAfterDelay property is set to True.

Note

The MenusShowRecentItemsFirst property is in effect only if the value of the Style property is bmsEnhanced or bmsFlat.

The value of the MenusShowRecentItemsFirst property can be changed when an application is running in the Options page of the toolbar’s Customization Form, via code or at design time.

The default value of the MenusShowRecentItemsFirst property is True.

See Also