PickerTree control

 

Other components

Home Search

The PickerTree control is a hierarchical drop-down list quite similar to a Windows combo-box, but capable of showing a tree instead of a list. It also allows to select more than one tree item, restrict which nodes are selectable, and use different formats to display information.

You can freely download from these pages:

You can purchase the standard edition of this component from these pages or either from our component partners.

Warning

Due to a confirmed bug by Microsoft, documented by articles Q177996 and Q237286 at their knowledge base, the NodeCheck event of PickerTree version 1.1 may not be received when working into the Visual Basic IDE. The event is correctly received when the control is used by a program compiled to EXE.

Despite Microsoft's bug, the new version 1.5 of PickerTree works around it. If you are a registered user of PickerTree 1.1, please contact us to obtain a free upgrade to 1.5.

More information

The control looks like this when closed:
Closed PickerTree

The tree comes up by clicking the arrow button at the right of the text box:
Open PickerTree

The MultiValue property allows to set whether the control will accept multiple selection. In the following example, the property has been set to True:
MultiValue =  True

It may be convenient for the PickerTree control to show the full names (or "paths") of the selected nodes, that is, their names preceded by the full names of their parent nodes. The UsePath property allows you to control this behavior. You can also change the separator text used to compose full names by using the TextSeparator property. The following picture shows a PickerTree control with UsePath set to True and TextSeparator set to ":".
UsePath =  True, TextSeparator = ":"

Sometimes, the semantics of the nodes may require that only leaf nodes (that is, those with no child nodes) are selectable. The OnlyLeaves property lets you change this behavior of the PickerTree control. The following picture shows a PickerTree control with OnlyLeaves set to True. Notice that checkboxes of non-leaf nodes are disabled, so only leaf nodes can be selected.
OnlyLeaves =  True