Hide

SftTree/DLL 7.5 - Tree Control

Display
Print

Keyboard Interface

A tree control responds to the PgUp, PgDn, Home, End keys, etc. to change the selected item (see "Selections").

The left arrow collapses the current item (by generating the SFTTREEN_LBUTTONDOWN_BUTTON notification). If the item is not expanded, the item's parent item becomes the current item.

The right arrow expands the current item (by generating the SFTTREEN_LBUTTONDOWN_BUTTON notification). If the item is not collapsed, the first child item becomes the current item.

The up arrow makes the previous visible item the current item.

The down arrow makes the next visible item the current item.

Typing one or more alphanumeric characters while a tree control has the input focus will reposition the selection on a matching item, based on the SetCharSearchMode settings.

The + key on the numeric keypad expands the current item (by generating the SFTTREEN_LBUTTONDOWN_BUTTON notification).

The - key on the numeric keypad collapses the current item (by generating the SFTTREEN_LBUTTONDOWN_BUTTON notification).

The * key on the numeric keypad expands the current item (by generating the SFTTREEN_EXPANDALL notification).

The Return key can be used to expand/collapse items or can be handled by handling the SFTTREEN_VK_RETURN notification.

The space bar selects/deselects the current item (honoring the Control and Shift keys).

Depending on the SetSelectionArea setting used, the Control key can be used to move the caret location without moving the current selection.