Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

EditNoFocusStyle Property, SftTreeItems Object

Defines the display style of selected items during cell editing.

Syntax

Get

VB.NETStyle = object.EditNoFocusStyle As SftTreeNoFocusStyleConstants
VBStyle = object.EditNoFocusStyle As SftTreeNoFocusStyleConstants
C#.NETSftTreeNoFocusStyleConstants Style = object.EditNoFocusStyle;
VC++enum SftTreeNoFocusStyleConstants Style = object->EditNoFocusStyle;
enum SftTreeNoFocusStyleConstants Style = object->GetEditNoFocusStyle();
CHRESULT object->get_EditNoFocusStyle(enum SftTreeNoFocusStyleConstants* Style);

Put

VB.NETobject.EditNoFocusStyle = Style As SftTreeNoFocusStyleConstants
VBobject.EditNoFocusStyle = Style As SftTreeNoFocusStyleConstants
C#.NETSftTreeNoFocusStyleConstants object.EditNoFocusStyle = Style;
VC++enum SftTreeNoFocusStyleConstants object->EditNoFocusStyle = Style;
void object->PutEditNoFocusStyle(enum SftTreeNoFocusStyleConstants Style);
CHRESULT object->put_EditNoFocusStyle(enum SftTreeNoFocusStyleConstants Style);

object

A SftTreeItems object.

Style

Defines the display style of selected items during cell editing.

StyleValueDescription
noFocusSftTreeKeepSel0The selected items are drawn the same way as for a tree control that has the input focus. 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 during cell editing.

Comments

The EditNoFocusStyle property defines the display style of selected items during cell editing.

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

The Items.NoFocusStyle property can be used to define the display style of selected items when the tree control does not have the input focus.

See Also SftTreeItems Object | Object Hierarchy


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