SftBox/OCX 4.5

SftBox.BorderStyle Property

Softel vdm, Inc.

Defines the control's border style used.

Syntax       

Get

VB.NET

Style = object.BorderStyle  As Short

VB

Style = object.BorderStyle  As Integer

C#.NET

short Style = object.BorderStyle;

VC++

short Style = object->BorderStyle;
short Style = object->GetBorderStyle();

C

HRESULT object->get_BorderStyle(short* Style);

Delphi

Style := object.BorderStyle   : Smallint;

Put

VB.NET

object.BorderStyle = Style  As Short

VB

object.BorderStyle = Style  As Integer

C#.NET

short object.BorderStyle = Style;

VC++

short object->BorderStyle = Style;
void object->PutBorderStyle(short Style);

C

HRESULT object->put_BorderStyle(short Style);

Delphi

object.BorderStyle := Style   : Smallint;

object

A SftBox object.

Style

Defines the control's border style.

Value

Description

0

None. The control doesn't have a border.

1

Paints the control border with a border.

Comments

The BorderStyle property defines the control's border style used.

The control's border can be controlled further by the Appearance property.

The BorderStyle property does not affect the drop down portion. Its border cannot be changed.

If Windows themes are used, this property will cause a border to be displayed (if set to 1), rendered using the current theme's style.


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