Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

GetRecentItem – PB Docs 2019 – PowerBuilder Library

GetRecentItem – PB Docs 2019

GetRecentItem

PowerScript function

Description

Gets the recent menu item of the application menu.

Applies to

RibbonApplicationMenu controls

Syntax

Argument

Description

controlname

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

Index

The index of the recent menu item which you want to
obtain. If index is invalid, an error would occur and this
operation would return -1.

Item

A RibbonMenuItem variable in which you want to store the
recent menu item identified by the index.

Return value

Integer.

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

Usage

The recent menu can have only one level and can contain no more than
9 items.

Examples

This example inserts a recent menu item “RecentItem1” and then gets
a copy of the recent menu.

See also

AddMasterSeparatorItem

ClearRecentItems

DeleteMasterItem

DeleteRecentItem

GetMasterItem

GetMasterItemCount

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