FormTreeControl.hasButtons Method
Returns a value that indicates whether the tree control uses expand/collapse buttons.
Syntax
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.
Examples
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);