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