Document toolboxDocument toolbox

(8.D.2.4) Inspector

Overview

Inspector panel

Discussion

The Inspector Panel is a container for inspector controls that can be assigned to a subsystem. An Inspector Panel can contain any number of inspector controls, such as Buttons, Meters, or Knobs, that can modify or read module variables. Drag an Inspector Panel from the module browser onto the canvas at any hierarchy to create a User Inspector for that level. Double click the Inspector Panel to open it in Edit Mode. Once opened, any inspector control from the Inspector folder in the module browser can be dragged onto the panel and assigned to a module variable. Edit Mode can only be accessed from the Inspector Panel itself, and is only enabled during Design time. Edit Mode is only used for changing properties of inspector controls, not for manipulating variable values.

The Inspector Panel can be opened in Control Mode by right clicking on the canvas or the containing subsystem and selecting Show Inspector. Double-clicking on the containing subsystem will also open the Inspector Panel in Control Mode. Control Mode is available during Design or Run time, and allows modification of the values in each inspector to control module variables.

Variables

Properties

Name

Type

Default value

Range

Description

name

string

Designer Assigned

Unrestricted

Name of the Inspector Panel

dialogCaption

string

name

Unrestricted

Text to display in the panel caption bar

dialogBorder

int

true

0:1:1

When true, displays a border all around the panel

dialogTextcolor

int

000000

0:1:ffffff

Default text color to be use by inspectors contained. In practice, overridden by the inspector properties

dialogBorderColor

int

b4b4b4

0:1:ffffff

Color of the dialog border

dialogWidth

int

400

Unrestricted

Width of panel area in DPI independent units

dialogHeight

int

400

Unrestricted

Height of panel area in DPI independent units

dialogBkcolor

int

f0f0f0

0:1:ffffff

Color for all parts of the Inspector Panel not covered by inspectors

flip

int

false

0:1:1

When true, flips the panel left to right

x

int

none

Unrestricted

Horizontal position of the panel on the canvas

y

int

none

Unrestricted

Vertical position of the panel on the canvas

width

int

7

5:1:1000

Width of the panel on the canvas

height

int

6

3:1:1000

Height of the panel on the canvas

text.color

int

000000

0:1:ffffff

Color of the panel text

text.points

int

8

4:1:100

Size of the panel text

text.align

string

center

left/center/right

Positioning of panel text