GetItemCount Method (LISTVIEW)
PLBCMP GUI Only
The GetItemCount method retrieves the number of items in the LISTVIEW object. The method uses the following format:
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A LISTVIEW object that is accessed.
return
Optional. A Numeric Variable that returns the number of items.
Flags Affected: EOS, OVER, ZERO
Note the following:
Upon completion, {return} will contain the total number of items in the LISTVIEW object.
If the value returned is zero, the ZERO Condition Flag is set.
If {return} is too small to contain the item count, the OVER Condition Flag is set.
The EOS Condition Flag is always cleared.
See Also: Method Syntax, LISTVIEW Methods
![]() |