TotalColumns – PB Docs 2018

TotalColumns

PowerScript function

Description

Finds the number of columns in a ListView control.

Applies to

ListView controls

Syntax

Argument

Description

listviewname

The name of the ListView control for which you want to
find the number of columns

Return value

Integer.

Returns the number of columns if it succeeds and -1 if an error
occurs.

Usage

Use when the ListView control is set to report view.

Examples

This example displays the number of columns in a ListView report
view in a SingleLineEdit:

See also

TotalItems

TotalSelected


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