DeleteRecentItem
PowerScript function
Description
Removes a recent menu item from the application menu.
Applies to
Syntax
|
1 |
controlname.DeleteRecentItem ( Long Index ) |
|
Argument |
Description |
|---|---|
|
controlname |
The name of the RibbonApplicationMenu control from which |
|
Index |
The index of the recent menu item which you want to |
Return value
Long.
Returns 1 if it succeeds and -1 if an error occurs. If any
argument’s value is null, returns null.
Examples
This example inserts the “RecentItem1” recent menu item and then
deletes it according to its index number.
|
1 2 3 4 5 6 |
Integer li_Return Long ll_Index RibbonApplicationMenu lr_AppMenu ll_Index = lr_AppMenu.InsertRecentItemFirst ("RecentItem1", "Ue_RecentItem1Clicked") li_Return = lr_AppMenu.DeleteRecentItem (ll_Index) |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest