The control's border style.
Usage
Set_Property(OLECtrlEntID, "OLE.Border", OptionValue)
Values
OptionValue can be set to one of the following valid options:
Value | Abbr. | Description |
---|---|---|
None | N | No border |
Bevel Sunken | BS | A thick sunken border |
Bevel Raised | BR | A thick raised border |
Thin Sunken | TS | A thin sunken border |
Thin Raised | TR | A thin raised border |
Etched | ET | An etched border |
Bump | B | A bumped border |
Flat | F | A thin system themed border |
XP | X | A 2-pixel border with a blue outline drawn in standard XP theme, or Bevel Sunken if XP themes are disabled |
XP Flat | XF | A 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")