"borderStyle"

Defines the used border style (normal, 3D, raised, sunken).

Synopsis

setValue(string shape, "borderStyle", int style);

getValue(string shape, "borderStyle", int style);

shape.editable(int style);

Parameter

Parameter Description
shape Name of the object
style

Used style of the border. For rectangles are available:

BS_NONE(0): Normal border

BS_3D(1): 3D display

BS_SUNKEN(2): Sunken

BS_RAISED(4): Raised

Description

With defining a border style (also existing as property) frames can be assigned different borders. This allows different 3D displays.

The properties "sunken" and "raised" cause an impression of shadows in such a way that the object seems sunk below or raised above a layer.

Example

The following example sets the border to "raised".

main()
{
  this.borderStyle(BS_RAISED)
}
main()
{
  setValue("", "borderStyle", 4);
}
Abbildung 1. Rectangle with the Border "Raised"

Assignment

Rectangle