Skip to main content

TdxBarManager.MostRecentItemsPercents Property

Specifies the border (in percentage) between the most recently used and the remaining menu item controls.

Declaration

property MostRecentItemsPercents: Byte read; write; default 95;

Property Value

Type Default
Byte 95

Remarks

When running an application the number of press events that occur on each of a menu’s items (in percentage) is recorded. The items which have received more presses than the value of the MostRecentItemsPercents property are added to the list of recently used items and moved to the top of the menu. The remaining items are hidden.

Note

For the most recently used items to be displayed at the top of a menu the MenusShowRecentItemsFirst property must be set to True.

The hidden items can be automatically displayed in a menu after a delay if the ShowFullMenusAfterDelay property is set to True.

The default value of the MostRecentItemsPercents property is 95.

See Also