Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

NoFocusStyle Property, SftTree Object

Defines the display style of selected items when the tree control does not have the input focus.

Deprecated - Provided for compatibility with earlier versions only - Use Items.NoFocusStyle instead

Syntax

Get

VB.NETStyle = object.NoFocusStyle As SftTreeNoFocusStyleConstants
VBStyle = object.NoFocusStyle As SftTreeNoFocusStyleConstants
C#.NETSftTreeNoFocusStyleConstants Style = object.NoFocusStyle;
VC++enum SftTreeNoFocusStyleConstants Style = object->NoFocusStyle;
enum SftTreeNoFocusStyleConstants Style = object->GetNoFocusStyle();
CHRESULT object->get_NoFocusStyle(enum SftTreeNoFocusStyleConstants* Style);

Put

VB.NETobject.NoFocusStyle = Style As SftTreeNoFocusStyleConstants
VBobject.NoFocusStyle = Style As SftTreeNoFocusStyleConstants
C#.NETSftTreeNoFocusStyleConstants object.NoFocusStyle = Style;
VC++enum SftTreeNoFocusStyleConstants object->NoFocusStyle = Style;
void object->PutNoFocusStyle(enum SftTreeNoFocusStyleConstants Style);
CHRESULT object->put_NoFocusStyle(enum SftTreeNoFocusStyleConstants Style);

object

A SftTree object.

Style

Defines the display style of selected items when the tree control does not have the input focus.

StyleValueDescription
noFocusSftTreeKeepSel0The selected items are drawn the same way as for a tree control that has the input focus, so the user cannot distinguish between selected items in an active tree control and an inactive control. The Items.SelectBackColorNoFocus and Items.SelectForeColorNoFocus properties can be used to define the colors used for selected items in this case.
noFocusSftTreeFrame1The selected items are drawn as items that are not selected, but are framed by a rectangle drawn using the color specified by the Items.SelectBackColor property.
noFocusSftTreeNothing2The selected items are drawn as items that are not selected. The user cannot distinguish between selected items and items that are not selected in an inactive tree control.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Items.NoFocusStyle instead

The NoFocusStyle property defines the display style of selected items when the tree control does not have the input focus.

The Items.SelectStyle property is used to change the appearance of selected items in a tree control that has the input focus.

See Also SftTree Object | Object Hierarchy


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


Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.