Border Property
The control's border style.
Definition
Property "OLE.Border" as Option
Values
This property can be set to one of the following valid options:
| Value | Description |
|---|---|
"None" or "N" | No border. (Default) |
"Bevel Sunken" or "BS" | A thick sunken border |
"Bevel Raised" or "BR" | A thick raised border |
"Thin Sunken" or "TS" | A thin sunken border |
"Thin Raised" or "TR" | A thin raised border |
"Etched" or "ET" | An etched border |
"Bump" or "B" | A bumped border |
"Flat" or "F" | A thin system themed border |
"XP" or "X" | A 2-pixel border with a blue outline drawn in standard XP theme, or Bevel Sunken if XP themes are disabled |
"XP Flat" or "XF" | A 1-pixel blue border drawn in standard XP theme, or Flat if XP themes are disabled |
"Custom Thin" or "CTN" | A 1-pixel border of any color, which is determined by the BorderColors property. |
"Custom Thick" or "CTK" | A 2-pixel border of any color, which is determined by the BorderColors property. |
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")