beautypg.com

Switch – MoTeC Display Creator User Manual

Page 49

background image

Page Elements

49

www.motec.com

Display Creator User Manual – MoTeC Ⓒ 2014 Published 1 July 2014

Switch

A Switch element controls the contents of an area of the page that is bounded by the Switch.

The Switch element can contain any element except for another Switch or an Alarm Display. Each element in
the Switch occupies the complete area of the Switch.

Elements can only be added to a Switch by selecting it, and using the right-click menu, or by selecting

Add

in

the Switch Navigation pane on the left.

Any number of elements can be included in a Switch, but each element must have an assigned condition.
When running on the device, the Switch will display only one of those elements. The element displayed is the
first in the list for which the condition evaluates to true. If no conditions evaluate as true, no element is
displayed.

Switch properties

Left

Space between the left margin of the page and the left border of the element in pixels.

Top

Space between the top margin of the page and the top border of the element in pixels.

Width

Horizontal width of the element in pixels. Change in dimension occurs at the right border, left border position remains
static.

Height

Vertical height of the element in pixels. Change in dimension occurs at the bottom border, top border position
remains static.

Centre

Centres the element on the page.

Fit

Centres the element and then extends the borders to the edges of the page.