SftButton/OCX 2.5

SftButton.BorderStyle Property

Softel vdm, Inc.

Defines the control's border style.

Syntax       

Get

VB.NET

Style = object.BorderStyle  As SftButtonBorderStyleConstants

VB

Style = object.BorderStyle  As SftButtonBorderStyleConstants

C#.NET

SftButtonBorderStyleConstants Style = object.BorderStyle;

VC++

enum SftButtonBorderStyleConstants Style = object->BorderStyle;
enum SftButtonBorderStyleConstants Style = object->GetBorderStyle();

C

HRESULT object->get_BorderStyle(enum SftButtonBorderStyleConstants* Style);

Delphi

Style := object.BorderStyle  : TOleEnum;

Put

VB.NET

object.BorderStyle = Style  As SftButtonBorderStyleConstants

VB

object.BorderStyle = Style  As SftButtonBorderStyleConstants

C#.NET

SftButtonBorderStyleConstants object.BorderStyle = Style;

VC++

enum SftButtonBorderStyleConstants object->BorderStyle = Style;
void object->PutBorderStyle(enum SftButtonBorderStyleConstants Style);

C

HRESULT object->put_BorderStyle(enum SftButtonBorderStyleConstants Style);

Delphi

object.BorderStyle := Style  : TOleEnum;

object

A SftButton object.

Style

Defines the control's border style.

Name

Value

Description

borderSftButtonThin

0

Thin - Displays a thin border around the control.

borderSftButtonStandard

1

Standard - Displays a regular border around the control, in appearance similar to the standard Windows button control.

borderSftButtonPixel1

2

Pixel1 - Displays a single pixel border around the control. This value has no effect if Windows themes are used.

Comments

The BorderStyle property defines the control's border style.

The display of the border may be further controlled using the BorderAlways property.

If the ButtonStyle property is set to styleSftButtonNone, this property has no effect and is ignored. The border is never displayed.


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