GetVisibleCount Method (TREEVIEW)


PLBCMP GUI Only

 

The GetVisibleCount method returns the number of items that will fit in the visible window of a TREEVIEW object. The method uses the following format:

 

[label]

{object}.GetVisibleCount

[GIVING {return}]

 

Where:

label

Optional. A Program Execution Label.

object

Required. A TREEVIEW object that is accessed.

return

Optional. A Numeric Variable that returns the number of visible items.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. Upon completion, {return} will contain the number of items that will fit in the visible window.

  2. If the value returned is zero, the ZERO Condition Flag is set.

  3. If {return} is too small to contain image count, the OVER Condition Flag is set.

  4. The EOS Condition Flag is always cleared.

 

 

See Also: Method Syntax, TREEVIEW Methods

 



PL/B Language Reference GetNextItem Method (TREEVIEW) GetXMLDataSize Method (TREEVIEW)