Working with Controls. Pharos LPC X, DESIGNER, LPC 1/2/4, TPC, BPS, Rio
विज्ञापन
विज्ञापन
Pharos Designer User Manual
Working With Controls
Adding Controls
To add new control items to a page, simply select which control you would like to add then drag and release on the page where you would like the control to be. You can add buttons, sliders, colour pickers, labels, keypads and clocks.
Editing Controls
To edit controls that are already on the page, click and then select the controls you would like to edit. You can now edit the controls by using your mouse to move and resize the controls or move the controls by pressing the arrow keys on your keyboard.
Deleting Controls
You can delete controls by selecting the controls and then clicking Delete.
Editing Layout Of Controls
With multiple controls selected you can use a variety of tools to alter their layout:
Icon: Layout control:
Layout selected controls horizontally
Layout selected controls vertically
Layout selected controls in a grid
Align selected controls to the left
Align selected controls to the right
Align selected controls to the top
Effect:
Moves and resizes the selected controls to fill the selection box with spacing between controls dictated by the spacing value. Controls will be laid out horizontally.
Moves and resizes the selected controls to fill the selection box with spacing between controls dictated by the spacing value. Controls will be laid out vertically.
Moves and resizes the selected controls to fill the selection box with spacing between controls dictated by the spacing value. Controls will be laid out in a grid. This grid layout supports controls that span multiple rows or columns.
Moves the controls to the left-most point of the selection box. Does not effect the Y axis or control size.
Moves the controls to the right-most point of the selection box. Does not effect the Y axis or control size.
Moves the controls to the top of the selection box.
Does not effect the X axis or control size.
- 170 -
Working with Controls
Align selected controls to the bottom Moves the controls to the bottom of the selection box. Does not effect the X axis or control size.
Align selected controls to the middle in a vertical line Moves the controls to the centre of the selection box in a vertical line. Does not effect the Y axis or control size.
Align selected controls to the middle in a horizontal line Moves the controls to the centre of the selection box in a horizontal line. Does not effect the X axis or control size.
Note: The separation of the controls when using the layout options is defined by the Spacing option
Editing Control's Properties
The properties for a control can be edited using the Property Editor, when one or more controls are selected. If multiple controls are selected, only common properties will be displayed and any changes will be applied to all selected controls.
Common Properties
Caption - the text that appears on a button, defining its purpose. It is possible to include a line break in this caption using "\n". If you require "\n" in your caption, you should use "\\n" to escape the first backslash. The caption of a control can be changed via the Set TPC Control Caption trigger action in Trigger - see
for more information.
Key - the reference for the control within Trigger. By default this will be set to <control type>XXX, where <control type> is 'button' or 'slider', etc. and XXX is a unique number for the control, which starts at 001 for a new project, e.g.
button123. Setting the control key to be the same for two controls will mean that they will fire the same trigger in
Designer. A single TPC trigger in Designer can match multiple control keys through the use of variables. See
for more information on using variables with TPC triggers.
Startup State - choose which state the item should be in when the Controller starts up.
X - The position, in pixels, of the control on the horizontal axis of the screen relative to the top left corner of the control.
Y - The position, in pixels, of the control on the vertical axis of the screen relative to the top left corner of the control.
Width - The width of the control in pixels.
Height - The height of the control in pixels.
Button Properties
- 171 -
Pharos Designer User Manual
- 172 -
Image - choose an image to display instead of the themed shape of the button. Either choose from button images already used in the project or click to browse for a new image. Images will be stretched to fill the area of the button. Transparency in images is supported. Overall transparency of the button will still be determined by the current theme. Click to remove the image and return the button to the themed shape.
Font Size - set by default from the theme; size of the font used to display the button caption.
Horizontal alignment - The horizontal alignment of the text in the button
Vertical alignment - The vertical alignment of the text in the button
Word Wrap - set by default from the theme; determines whether the caption of a button will flow onto multiple lines if necessary.
Actuation - can be set to Momentary or
Maintained. Momentary indicates the button will trigger a 'press' and 'release' every time it's touched; Maintained indicates the button will remain depressed when tapped once, and will only release when tapped again.
Held Timeout, Repeat Interval - specify the length of time the button must be held before 'repeat' triggers begin firing and how rapidly 'repeat' triggers fire.
Function - can be set to: None, Next Page,
Previous Page, Back, Go To Page,
Increase Brightness, Decrease Brightness,
Set Brightness. Each function has associated sub-properties. For example, in the screenshot below the Next Page transition can be set to None, Pan Left or
Pan Right and a transition duration can be set.
Page - if function is set to Go To Page, select the page to go to
Transition - if function is set to Next Page,
Previous Page, Go To Page or Back, select the required transition effect
Transition duration - if function is set to
Next Page, Previous Page, Go To Page or
Back, select the required transition duration time
Level - if function is set to Set brightness, set the required brightness.
IR Slot - This associates an IR slot with the button. The IR slot can be activated by an IR remote control, mimicking a button being tapped.
Clock Properties
Working with Controls
- 173 -
Pharos Designer User Manual
Font Size - set by default from the theme; size of the font used to display the colour picker caption.
Horizontal alignment - The horizontal alignment of the text in the caption
Vertical alignment - The vertical alignment of the text in the caption
Spacing - set by default from the theme; spacing between the colour picker wheel and the caption text.
- 174 -
Colour Picker
Working with Controls
- 175 -
Pharos Designer User Manual
Startup Colour - select the colour that you want the colour picker to be in at startup.
This can also be set by clicking on the colour picker with Alt held down.
Font Size - set by default from the theme; size of the font used to display the colour picker caption.
Horizontal alignment - The horizontal alignment of the text in the caption
Vertical alignment - The vertical alignment of the text in the caption
Spacing - set by default from the theme; spacing between the colour picker wheel and the caption text.
- 176 -
Keypad Properties
Working with Controls
- 177 -
Pharos Designer User Manual
Max Digits - set the maximum amount of characters that may be entered into a keypad by the user at a time.
Caption horizontal alignment - The horizontal alignment of the text in the caption
Caption vertical alignment - The vertical alignment of the text in the caption
Show digits - choose whether the characters entered into a keypad are hidden or shown.
- 178 -
Working with Controls
Label Properties
Font Size - set by default from the theme; size of the font used to display the caption text in the label.
Horizontal alignment - The horizontal alignment of the text in the label
Vertical alignment - The vertical alignment of the text in the label
Word Wrap - set by default from the theme; determines whether the caption of a label will flow onto multiple lines if necessary.
Slider Properties
Unit - this sets whether the value should be displayed as a percentage or 8-bit value
(0-255).
Startup Value - this sets where the slider is positioned at startup
Caption Font Size - set by default from the theme; size of the font used to display the slider caption.
Caption horizontal alignment - The horizontal alignment of the text in the caption
Caption vertical alignment - The vertical alignment of the text in the caption
Show Value - whether the value of the slider is displayed next to it.
Value Font Size - set by default from the theme; size of the font used to display the slider value.
Value horizontal alignment - The horizontal alignment of the value
Value vertical alignment - The vertical alignment of the value
Spacing - set by default from the theme; spacing between the slider and the first line of text, and the spacing between the caption and value.
Handle Size - set by default from the theme; fraction of the slider track that is occupied by the slider handle (0.05 - 0.95).
Increment IR Slot - this allows an IR slot to be associated with incrementing the
- 179 -
Pharos Designer User Manual slider level.
Decrement IR Slot - this allows an IR slot to be associated with decrementing the slider level.
- 180 -
डाउनलोड
विज्ञापन