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