Polybench® Reference
Represents a panel element that can be used to group other elements and to draw borders around them.

Panel

Overview

The Panel is a simple object that provides a surface with a border on which you can put other objects. Use this for user interfaces, in which you want to visibly group items.

Properties

Find more information about changing properties here: link

BorderStyle
type: See description
The kind of border around the panel. Select a style from the drop-down list.


BackgroundColor
type: Known color name
The background color of the panel

This property uses the Color Repository. For more information about the use of colors in a project, refer to link

ForegroundColor
type: Known color name
The foreground color of the panel (border color)

This property uses the Color Repository. For more information about the use of colors in a project, refer to link

Size
type: Size containing width and height
The size of the user interface of this object (width, height).


Coordinates
type: Coordinate
The location of the user interface of this object in (x,y) coordinates, relative to the object it is on top of.


Caption
type: Word or phrase
The name of the object in the project. This name must not contain '.' or '$' characters.

Every object has the Caption property. This property is very important, because it is the name by which Polybench recognizes this object.
It is allowed to give multiple objects the same name, as long as the objects are of the same type. In that case, a reference to this caption includes all the objects with the same caption.
In Polybench, every object can be addressed by an Address specifier, which starts with the dollar sign, for example: $My Page.My Object. 'My Page' would be the Caption of a page, and 'My Object' the Caption of an object on that page.

Documentation
type: See description
Optional documentation of this object.

It is good practice to write in short notes why you have used this object, and why its properties are set the way they are set. If this object is an operator, the Documentation text is displayed below the operator symbol.