HasButtons

[property icon] HasButtons

Set if the tree display images against each item

Read-only This is a style property that is only available in the forms designer. It is possible to modify this programmatically through the Style property in the Create event.

Applies to: Tree

Introduced in KCML version 5.02


>

HasButtons

A tree that has this style property set to TRUE adds a button to the left side of each parent item. The user can click the button once instead of double-clicking the parent item to expand or collapse the child.

Note that this style does not add buttons to items at the root of the hierarchy. To do so, you must also set HasLines and LinesAtRoot properties.

This property is a design time only property and can therefore only be set within the KCML forms designer. Changing it or inspecting it will have no effect at runtime.

See also

Tree methods, properties and events.