I am trying to simply add a Recent item to my application menu. Following is my code but it doesn't work.
...
GetApplicationButton(lRBAppButton)
lRBAppButton.GetMenu(lRBAppMenu)
FOR llNdx = 1 TO llUpper
lsText = lds.Object.Company_Name[llNdx]
lRBAppMenu.InsertRecentItemLast(lsText, 'ue_recent')
NEXT
...
This is not populating my recent list. The examples in PB are not very good. They simply declare a local variable and call the function. Is that right? Seems like you would need to get the menu first?
Help:
Long ll_Return RibbonApplicationMenu lr_AppMenu ll_Return = lr_AppMenu.InsertRecentItemLast ("RecentItem1", "Ue_RecentItem1Clicked")
Thanks for any help,
Chris Craft
The 9 max is a bummer. I will log a request to have that changed.
Thank you Ken for your responses,
Chris Craft
Thank you for your enhancement request on Ticket # 6123 to enlarge the Recent Menu Item larger than 9. I have now forwarded this over to Engineering.
Regards ... Chris