ImageEn, unit iexFolderTree

TIEFolderTree.ClickAreaWidth

TIEFolderTree.ClickAreaWidth


Declaration

property ClickAreaWidth: Integer;


Description

Allows clicking to the left of the chevron button to expand or collapse the node.
By default, TTreeView limits clicking to the area of the button, which can be a small area. This options widens the area by the specified number of pixels (to the left). The value should not exceed the width of the button itself.
If -1 is specified, anywhere in the indent area can be clicked to expand/collapse the node.

Default: 18


Example

// Revert to standard VCL behavior (must click precisely on the button)
IEFolderTree1.ClickAreaWidth := 0;