TotalColumns
PowerScript function
Description
Finds the number of columns in a ListView control.
Applies to
ListView controls
Syntax
1 |
listviewname.TotalColumns ( ) |
Argument |
Description |
---|---|
listviewname |
The name of the ListView control for which you want to |
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:
1 2 3 |
int li_cols li_cols = lv_list.TotalColumns() sle_info.text = "Total columns = " + string(li_cols) |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest