HasButtons property


Available for TreeView and Header objects.

Read/Write only at design time

For a TreeView object it specifies whether the control has plus (+) and minus (-) buttons next to parent items. It can be one of the following values:

TRUE    TreeView object has buttons. Items can be expanded or collapsed (default).
FALSE  TreeView object has no buttons. Items cannot be expanded nor collapsed.


For a Header object it specifies whether each item in the control looks and behaves like a push button. It can be one of the following values:

TRUE    Items in the Header object behave like push buttons (default).
FALSE  Items in the Header object do not behave like push buttons.