Skip to main content

TdxBarItemLink.BringToTopInRecentList(Boolean) Method

“Promotes” an item in the list of the most frequently used items.

Declaration

procedure BringToTopInRecentList(IncCount: Boolean);

Parameters

Name Type
IncCount Boolean

Remarks

Use this method to “promote” the item which corresponds to the current item link in the list of the most frequently used menu items. If the IncCount parameter is set to True, the hit counter of an item link increases; i.e. the item is “promoted” as if it had been pressed. Otherwise, the hit counter remains unchanged.

Note

This method is used if both the bar manager’s MenusShowRecentItemsFirst property and the toolbar’s UseRecentItems property are set to True.

See Also