Partilhar via


FormTreeControl.hasButtons Method

Definition

Overloads

hasButtons()

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

hasButtons(Boolean)

hasButtons()

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

public:
 virtual bool hasButtons();
public virtual bool hasButtons ();
abstract member hasButtons : unit -> bool
override this.hasButtons : unit -> bool
Public Overridable Function hasButtons () As Boolean

Returns

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

Remarks

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

Applies to

hasButtons(Boolean)

public:
 virtual bool hasButtons(bool _value);
public virtual bool hasButtons (bool _value);
abstract member hasButtons : bool -> bool
override this.hasButtons : bool -> bool
Public Overridable Function hasButtons (_value As Boolean) As Boolean

Parameters

_value
Boolean

Returns

Applies to