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

GetRecentItemCount – PB Docs 2019 – PowerBuilder Library

GetRecentItemCount – PB Docs 2019

GetRecentItemCount

PowerScript function

Description

Determines the total number of the recent menu items in the
application menu.

Applies to

RibbonApplicationMenu controls

Syntax

Argument

Description

controlname

The name of the RibbonApplicationMenu control

Return value

Long.

Returns the total number of menu items in the recent menu. If the
recent menu contains no items, returns 0. If an error occurs, returns
-1.

Usage

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

Examples

This example inserts three recent menu items and then counts the
total number of recent menu items (which returns 3).

See also

AddMasterSeparatorItem

ClearRecentItems

DeleteMasterItem

DeleteRecentItem

GetMasterItem

GetMasterItemCount

GetRecentItem

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