DeleteRecentItem – PB Docs 2021

DeleteRecentItem

PowerScript function

Description

Removes a recent menu item from the application menu.

Applies to

RibbonApplicationMenu control

Syntax

Argument

Description

controlname

The name of the RibbonApplicationMenu control from which
you want to remove the recent menu item.

Index

The index of the recent menu item which you want to
delete.

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.

See also

AddMasterSeparatorItem

ClearRecentItems

DeleteMasterItem

GetMasterItem

GetMasterItemCount

GetRecentItem

GetRecentItemCount

GetRecentTitle

InsertMasterItem

InsertMasterItemFirst

InsertMasterItemLast

InsertRecentItem

InsertRecentItemFirst

InsertRecentItemLast

SetMasterItem

SetRecentItem

SetRecentTitle


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x