FormTreeControl.hasButtons Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);