2.25 .borderstyle

This attribute defines the style, i.e. the representation and characteristics of the borders of an object.

Definition

  • Data type

    enum

  • Access

    get, set

  • changed event

    yes

Value range

border_compat

Compatibility mode: border rendering like in IDM 5 determined by the attributes .bodercolor and .borderwidth.

This value cannot be actively set.

border_none

No borders are drawn around the object.

border_plain

The border is drawn as a simple, flat line around the object, can be influenced in width and color (if supported by the respective WSI).

border_raised

The border is drawn as a 3D border around the object, the border is heightened outwards and can be influenced in its width (if supported by the respective WSI).

border_sunken

The border is drawn as a 3D border around the object, the border is deepened inwards and can be influenced in its width (if supported by the respective WSI).

border_toolkit

The toolkit border is drawn as designated by the WSI for the particular object.

Table 1-1: Support of the .borderstyle attribute

Object

Support of .borderstyle

canvas

Attribute is supported.

groupbox

Attribute is supported.

layoutbox

Attribute is supported.

rectangle

Attribute is supported.

splitbox

Attribute is supported.

edittext

Attribute is supported, but only border_none and border_toolkit are permitted. border_plain, border_raised and border_sunken are mapped to border_toolkit.

image

Attribute is supported, but only border_none and border_toolkit are permitted. border_plain, border_raised and border_sunken are mapped to border_toolkit.

progressbar

Attribute is supported, but only border_none and border_toolkit are permitted. border_plain, border_raised and border_sunken are mapped to border_toolkit.

spinbox

Attribute is supported, but only border_none and border_toolkit are permitted. border_plain, border_raised and border_sunken are mapped to border_toolkit.

statusbar

Attribute is supported, but only border_none and border_toolkit are permitted. border_plain, border_raised and border_sunken are mapped to border_toolkit.

toolbar

Attribute is supported, but only border_none and border_toolkit are permitted. border_plain, border_raised and border_sunken are mapped to border_toolkit.

window

Attribute is supported, but only border_none and border_toolkit are permitted. border_plain, border_raised and border_sunken are mapped to border_toolkit.

checkbox

Attribute is not supported.

control

Attribute is not supported.

listbox

Attribute is not supported.

notebook

Attribute is not supported.

notepage

Attribute is not supported.

poptext

Attribute is not supported.

pushbutton

Attribute is not supported.

radiobutton

Attribute is not supported.

scrollbar

Attribute is not supported.

statictext

Attribute is not supported.

tablefield

Attribute is not supported.

treeview

Attribute is not supported.

Availability

Since IDM version A.06.01.a