FormTreeControl.getVisibleCount Method [AX 2012]

Returns the number of visible items in the tree control.

public int getVisibleCount()

Run On

Client

Return Value

Type: int
The number of visibile items in the tree control.

The following example shows how to retrieve the number of visible items in the tree control.

int nCount; 
  
nCount = this.getVisibleCount(); 
info (strfmt("getVisibleCount: %1", int2str(nCount)));

Community Additions

ADD
Show: