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

Default: XP

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

// Remove the border 
Set_Property(@Window:".OLE_PANEL", "OLE.Border", "None") 

// Use the XP Flat border 
Set_Property(@Window:".OLE_PANEL", "OLE.Border", "XP Flat")
  • No labels