FormTreeControl.hasButtons Method [AX 2012]

Returns a value that indicates whether the tree control uses expand/collapse buttons.

public boolean hasButtons([boolean value])

Run On

Client

Parameters

value
Type: boolean

Return Value

Type: boolean
true if the tree control uses expand/collapse buttons; otherwise, false.

The following example shows how to retrieve the value that indicates whether the tree control uses expand/collapse buttons.

boolean bHasButtons; 
 
// Retrieve the value. 
bHasButtons = this.hasButtons(); 
info (strfmt("hasButtons: %1",bHasButtons)); 
 
// Set the value. 
this.hasButtons(false);

Community Additions

ADD
Show: