Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

DropHighlightColor Property, SftTreeItems Object

Defines the color used to display the drop target item of a drag & drop operation.

Syntax

Get

VB.NETClr = object.DropHighlightColor As UInteger
VBClr = object.DropHighlightColor As OLE_COLOR
C#.NETuint Clr = object.DropHighlightColor;
VC++OLE_COLOR Clr = object->DropHighlightColor;
OLE_COLOR Clr = object->GetDropHighlightColor();
CHRESULT object->get_DropHighlightColor(OLE_COLOR* Clr);

Put

VB.NETobject.DropHighlightColor = Clr As UInteger
VBobject.DropHighlightColor = Clr As OLE_COLOR
C#.NETuint object.DropHighlightColor = Clr;
VC++OLE_COLOR object->DropHighlightColor = Clr;
void object->PutDropHighlightColor(OLE_COLOR Clr);
CHRESULT object->put_DropHighlightColor(OLE_COLOR Clr);

object

A SftTreeItems object.

Clr

Defines the color used to display the drop target item of a drag & drop operation. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

The DropHighlightColor property defines the color used to display the drop target item of a drag & drop operation.

The Items.SelectStyle and Items.NoFocusStyle properties work in conjunction with the Items.OutlineStyle property to determine the exact appearance of drop target items. The highlighted portion of a drop target is rendered using the outline style defined by the Items.OutlineStyle property.

The drop target is displayed based on the Items.DropHighlightStyle and Items.DropHighlight properties.

The DropHighlightColor property is only used if the Items.OutlineStyle property is set to OutlineStyleSftTreeRect. Otherwise, it is ignored and the Items.DropTargetInnerBorderColor, Items.DropTargetInnerFill1, Items.DropTargetInnerFill2, Items.DropTargetOutlineBorderColor properties are used instead.

See Also SftTreeItems Object | Object Hierarchy


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