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 disable

Default: XP Flat

Remarks

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

Example

// Set a bevel border 
Set_Property(@Window:".OLE_SHORTCUT", "OLE.Border", "Bevel Sunken") 

// Set a thin border 
Set_Property(@Window:".OLE_SHORTCUT", "OLE.Border", "Thin Raised") 

// Set a flat border 
Set_Property(@Window:".OLE_SHORTCUT", "OLE.Border", "Flat") 

// Remove the border 
Set_Property(@Window:".OLE_SHORTCUT", "OLE.Border", "None")
  • No labels