Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

BorderStyle Property, SftMask Object

Defines the control's border style.

Syntax

Get

VB.NETStyle = object.BorderStyle As Short
VBStyle = object.BorderStyle As Integer
C#.NETshort Style = object.BorderStyle;
VC++short Style = object->BorderStyle;
short Style = object->GetBorderStyle();
CHRESULT object->get_BorderStyle(short* Style);

Put

VB.NETobject.BorderStyle = Style As Short
VBobject.BorderStyle = Style As Integer
C#.NETshort object.BorderStyle = Style;
VC++short object->BorderStyle = Style;
void object->PutBorderStyle(short Style);
CHRESULT object->put_BorderStyle(short Style);

object

A SftMask object.

Style

Defines the control's border style.

StyleDescription
0None. The control doesn't have a border.
1Paints the edit control with a border.
2Paints the edit control using a 1-pixel border. The Appearance property is ignored. The color of the border is the standard color used for window borders. It cannot be modified. If Windows themes are used, the border is rendered using the current theme's style (identical to Style 1).

Comments

The BorderStyle property defines the control's border style.

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

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

See Also SftMask Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.