Description
Gets the title of the recent menu list in the application menu. The title is displayed on top of the recent menu list.
Applies to
RibbonApplicationMenu controls
Syntax
controlname.GetRecentTitle ( ref String Title )
Argument |
Description |
---|---|
controlname |
The name of the RibbonApplicationMenu control from which you want to get the title of the recent menu list. |
Title |
Title of the recent menu list. It is 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" and then gets and stores the title in the
ls_Title
variable.
Long li_Return String ls_Title RibbonApplicationMenu lr_AppMenu li_Return = lr_AppMenu.SetRecentTitle("Recently Opened Windows") li_Return = lr_AppMenu.GetRecentTitle(ls_Title)
See also