Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

Keyboard Interface

A tree control responds to the arrow keys, PgUp, PgDn, Up, Down, Home, End, etc. to change the selected item.

Depending on the Items.SelectionArea setting used, the CONTROL key can be used to move the caret location without moving the current selection.

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 Items.CharSearchMode and Items.CharSearchColumn properties.

Depending on the Items.SelectionArea setting used, the CONTROL key with arrow keys can be used to move the caret location without moving the current selection.

Left Arrow - If the current item is an expanded parent item, the left arrow key will generate an ItemClick (AreaType = constSftTreeButton) event to collapse the item. Otherwise, the left arrow key will change the current item to the item's immediate parent item. If AutoRespond is set to True, the ItemClick event is automatically handled, resulting in the item being collapsed. If AutoRespond is set to False, the ItemClick event must be handled by the application.

Right Arrow - If the current item is a collapsed parent item, the right arrow key will generate an ItemClick (AreaType = constSftTreeButton) event to expand the item. Otherwise, the right arrow key will change the current item to the first immediate dependent item. If AutoRespond is set to True, the ItemClick event is automatically handled, resulting in the item being expanded. If AutoRespond is set to False, the ItemClick event must be handled by the application.

+ (numeric keypad) - If the current item is a collapsed parent item, the + key will generate an ItemClick (AreaType = constSftTreeButton) event to expand the item. Otherwise, the + key will have no effect. If AutoRespond is set to True, the ItemClick event is automatically handled, resulting in the item being expanded. If AutoRespond is set to False, the ItemClick event must be handled by the application.

- (numeric keypad) - If the current item is an expanded parent item, the - key will generate an ItemClick (AreaType = constSftTreeButton) event to collapse the item. Otherwise, the - key will have no effect. If AutoRespond is set to True, the ItemClick event is automatically handled, resulting in the item being collapsed. If AutoRespond is set to False, the ItemClick event must be handled by the application.

* (numeric keypad) - If the current item is a collapsed parent item, the * key will generate an ItemClick (AreaType = constSftTreeExpandAll) event to expand the item completely. Otherwise, the * key will have no effect.

RETURN - The HandleReturn property can be used to determine handling and support of the RETURN key.

SPACE BAR - The space bar selects/deselects the current item (honoring the CONTROL and SHIFT keys).


Last Updated 08/13/2020 - (email)
© 2021 Softel vdm, Inc.