HeaderPane
Main
Hide

SftButton/OCX 4.0 - ActiveX Button Control

Share Link
Print

BorderStyle Property, SftButton Object

Defines the control's border style.

Syntax

Get

VB.NETStyle = object.BorderStyle As SftButtonBorderStyleConstants
VBStyle = object.BorderStyle As SftButtonBorderStyleConstants
C#.NETSftButtonBorderStyleConstants Style = object.BorderStyle;
VC++enum SftButtonBorderStyleConstants Style = object->BorderStyle;
enum SftButtonBorderStyleConstants Style = object->GetBorderStyle();
CHRESULT object->get_BorderStyle(enum SftButtonBorderStyleConstants* Style);

Put

VB.NETobject.BorderStyle = Style As SftButtonBorderStyleConstants
VBobject.BorderStyle = Style As SftButtonBorderStyleConstants
C#.NETSftButtonBorderStyleConstants object.BorderStyle = Style;
VC++enum SftButtonBorderStyleConstants object->BorderStyle = Style;
void object->PutBorderStyle(enum SftButtonBorderStyleConstants Style);
CHRESULT object->put_BorderStyle(enum SftButtonBorderStyleConstants Style);

object

A SftButton object.

Style

Defines the control's border style.

NameValueDescription
borderSftButtonThin0Thin - Displays a thin border around the control.
borderSftButtonStandard1Standard - Displays a regular border around the control, in appearance similar to the standard Windows button control.
borderSftButtonPixel12Pixel1 - 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.

See Also SftButton Object | Object Hierarchy


Last Updated 08/23/2026 - (email)
© 2026 Softel vdm, Inc.