The control's border style.

Usage

Set_Property(OLECtrlEntID, "OLE.Border", OptionValue)

Values

OptionValue can be set to one of the following valid options:

ValueAbbr.Description
NoneNNo border
Bevel SunkenBSA thick sunken border
Bevel RaisedBRA thick raised border
Thin SunkenTSA thin sunken border
Thin RaisedTRA thin raised border
EtchedETAn etched border
BumpBA bumped border
FlatFA thin system themed border
XPXA 2-pixel border with a blue outline drawn in standard XP theme, or Bevel Sunken if XP themes are disabled
XP FlatXFA 1-pixel blue border drawn in standard XP theme, or Flat if XP themes are disabled
Custom ThinCTNA 1-pixel border of any color, which is determined by the BorderColors property.
Custom ThickCTKA 2-pixel border of any color, which is determined by the BorderColors property.

Default: None

Remarks

The Border property establishes the kind of border to appear around the edges of the control. There are several types of borders as visualized below:


Example

// Use the XP border 
Set_Property(@Window:".OLE_CONTROL", "OLE.Border", "XP")

See Also

BorderColors

  • No labels