Share via


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

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);

See Also

FormTreeControl Class

Form Control Properties