SftBox/OCX 4.5

SftBoxItems.OutlineStyle Property

Softel vdm, Inc.

Defines the display style of the selection outline.

Syntax       

Get

VB.NET

Style = object.OutlineStyle  As SftBoxOutlineStyleConstants

VB

Style = object.OutlineStyle  As SftBoxOutlineStyleConstants

C#.NET

SftBoxOutlineStyleConstants Style = object.OutlineStyle;

VC++

enum SftBoxOutlineStyleConstants Style = object->OutlineStyle;
enum SftBoxOutlineStyleConstants Style = object->GetOutlineStyle();

C

HRESULT object->get_OutlineStyle(enum SftBoxOutlineStyleConstants* Style);

Delphi

Style := object.OutlineStyle  : TOleEnum;

Put

VB.NET

object.OutlineStyle = Style  As SftBoxOutlineStyleConstants

VB

object.OutlineStyle = Style  As SftBoxOutlineStyleConstants

C#.NET

SftBoxOutlineStyleConstants object.OutlineStyle = Style;

VC++

enum SftBoxOutlineStyleConstants object->OutlineStyle = Style;
void object->PutOutlineStyle(enum SftBoxOutlineStyleConstants Style);

C

HRESULT object->put_OutlineStyle(enum SftBoxOutlineStyleConstants Style);

Delphi

object.OutlineStyle := Style  : TOleEnum;

object

A SftBoxItems object.

Style

Defines the display style of the selection outline.

Name

Value

Description

OutlineStyleSftBoxRect

0

Rectangle - The selection display style, defined using the Items.SelectionStyle property is rendered using a rectangle. The colors used for the selection rectangle are based on the definitions for selected items, cells and columns (see Items.SelectionStyle).
An item highlighted due to flyby highlighting is rendered by underlining the cell text.
A drop target is rendered using the color defined using Items.DropHilightColor.

OutlineStyleSftBoxRectGradient

1

Rectangle with borders and gradient fill - The selection display style, defined using the Items.SelectionStyle property is rendered using a rounded rectangle, with a gradient fill. The colors used for the selection outline are defined using the Items.SelectOutlineBorderColor, Items.SelectInnerBorderColor, Items.SelectInnerFill1, Items.SelectInnerFill2 or Items.SelectNoFocusOutlineBorderColor, Items.SelectNoFocusInnerBorderColor, Items.SelectNoFocusInnerFill1, Items.SelectNoFocusInnerFill2 properties.
The selection outline of items highlighted due to flyby highlighting is rendered using the colors Items.SelectHotOutlineBorderColor, Items.SelectHotInnerBorderColor, Items.SelectHotInnerFill1 and Items.SelectHotInnerFill2 or Items.HotOutlineBorderColor, Items.HotInnerBorderColor, Items.HotInnerFill1 and Items.HotInnerFill2.
The selection outline of items as drop targets is rendered using the colors Items.DropTargetOutlineBorderColor, Items.DropTargetInnerBorderColor, Items.DropTargetInnerFill1 and Items.DropTargetInnerFill2.

Comments

The OutlineStyle property defines the display style of the selection outline.

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


Feedback / comments / error reports for this topic
© 2008 - Softel vdm, Inc. - www.softelvdm.com