SetRecentTitle

Description

Sets the title for the recent menu list in the application menu. The title will be displayed on top of the recent menu list.

Applies to

RibbonApplicationMenu controls

Syntax

controlname.SetRecentTitle ( String Title )

Argument

Description

controlname

The name of the RibbonApplicationMenu control in which you want to set the title of the recent menu list.

Title

Title of the recent menu list. It will be displayed on top of the recent menu list.


Return value

Integer.

Returns 1 if it succeeds and -1 if an error occurs. If any argument's value is null, returns null.

Examples

This example sets the title of the recent menu list to "Recently Opened Windows".

Long li_Return
RibbonApplicationMenu lr_AppMenu

li_Return = lr_AppMenu.SetRecentTitle ("Recently Opened Windows")

See also

AddMasterSeparatorItem

ClearRecentItems

DeleteMasterItem

DeleteRecentItem

GetMasterItem

GetMasterItemCount

GetRecentItem

GetRecentItemCount

GetRecentTitle

InsertMasterItem

InsertMasterItemFirst

InsertMasterItemLast

InsertRecentItem

InsertRecentItemFirst

InsertRecentItemLast

SetMasterItem

SetRecentItem