HeaderPane
Main
Hide

SftTree/OCX 8.0 - ActiveX Tree Control

Share Link
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.

Examples

VB6

         BackColorOdd    =   -2147483643
         CalcLimit       =   0
         CalcVisibleOnly =   0
         Cell3D          =   0
         CharSearchColumn=   -1
         CharSearchMode  =   1
         DropHighlightColor=   -2147483635
         DropHighlightStyle=   1
         EditNoFocusStyle=   2
         FlybyHighlight  =   1
         ForeColor       =   -2147483640
         ForeColorOdd    =   -2147483640
         GrayedColor     =   -2147483631
         GridHorizontalColor=   -2147483633
         GridStyle       =   6
         GridVerticalColor=   -2147483633

See Also SftTreeItems Object | Object Hierarchy


Last Updated 05/24/2026 - (email)
© 2026 Softel vdm, Inc.