SftBox/OCX 4.5

SftBoxItems.GridStyle Property

Softel vdm, Inc.

Defines the use of grid lines.

Syntax       

Get

VB.NET

Style = object.GridStyle  As SftBoxGridStyleConstants

VB

Style = object.GridStyle  As SftBoxGridStyleConstants

C#.NET

SftBoxGridStyleConstants Style = object.GridStyle;

VC++

enum SftBoxGridStyleConstants Style = object->GridStyle;
enum SftBoxGridStyleConstants Style = object->GetGridStyle();

C

HRESULT object->get_GridStyle(enum SftBoxGridStyleConstants* Style);

Delphi

Style := object.GridStyle  : TOleEnum;

Put

VB.NET

object.GridStyle = Style  As SftBoxGridStyleConstants

VB

object.GridStyle = Style  As SftBoxGridStyleConstants

C#.NET

SftBoxGridStyleConstants object.GridStyle = Style;

VC++

enum SftBoxGridStyleConstants object->GridStyle = Style;
void object->PutGridStyle(enum SftBoxGridStyleConstants Style);

C

HRESULT object->put_GridStyle(enum SftBoxGridStyleConstants Style);

Delphi

object.GridStyle := Style  : TOleEnum;

object

A SftBoxItems object.

Style

Defines the use of grid lines.

Style

Value

Description

gridSftBoxNone

0

No grid lines are drawn.

gridSftBoxVertical

1

Solid vertical grid lines are drawn between columns.

gridSftBoxHorizontal

2

Solid horizontal grid lines are drawn between items.

gridSftBoxBoth

3

Solid vertical and horizontal grid lines are drawn.

gridSftBoxVerticalDotted

4

Dotted vertical grid lines are drawn between columns.

gridSftBoxHorizontalDotted

5

Dotted horizontal grid lines are drawn between items.

gridSftBoxBothDotted

6

Dotted vertical and horizontal grid lines are drawn.

Comments

The GridStyle property defines the use of grid lines.

The color used for the grid lines is defined using the Items.GridHorizontalColor and Items.GridVerticalColor properties.

Horizontal grid lines are not drawn if items are drawn using a 3D display method (see Items.Appearance).

Horizontal grid lines are only shown in the drop down portion of the combo box.


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