GetFileCount Method (TREEVIEW)


10.3A, PLBCMP GUI Only

 

The GetFileCount method returns the number of file names selected by an end-user and dragged to a TREEVIEW object. The method uses the following format:

 

[label]

{object}.GetFileCount

[GIVING {return}]

 

Where:

label

Optional. A Program Execution Label.

object

Required. A TREEVIEW object that has been previously created.

return

Optional. A Numeric Variable that returns the number of file names selected by the end-user file drag/drop operation.

Flags Affected: OVER, ZERO

Note the following:

  1. Upon completion, {return} will contain the number of items in {object}.

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

  3. If {return} is too small to contain the number of items, the OVER Condition Flag is set.

  4. The EOS Condition Flag is always cleared.

 

 

See Also: Method Syntax, TREEVIEW Methods

 



PL/B Language Reference GetCount Method (TREEVIEW) GetFileItem Method (TREEVIEW)