Component: Dashboard Text (Advanced Shapes)
Author | Matrix Ltd |
Version | 1.0 (Release) |
Category | Advanced Shapes |
Contents
Dashboard Text component
A simulation only text box that can be used to display text and numbers.
Examples
No additional examples
Downloadable macro reference
This component does not contain any downloadable macros
Simulation macro reference
Clear
Remove all text from the display.
Parameters
- This macro has no parameters
Return value
- This call does not return a value
PrintString
Add the given text to the display immediately after the most recent character and
without beginning a new line.
Parameters
- STRING Text
- The text to add to the display.
Return value
- This call does not return a value
PrintNumber
Write the given number to the display. It will be placed immediately after the last
character on the display without beginning a new line.
Parameters
- FLOAT Number
- BYTE Places
Return value
- This call does not return a value
PrintLine
DIsplay the given string on a new line. If the display is full, it will scroll upwards to
make space.
Parameters
- STRING Text
- The text to add to the display.
Return value
- This call does not return a value
Property reference
Start Text
This property is of type Multiple lines of text and can be referenced with the variable name text.
Set the text that will appear when the component is initialised.
Lines
This property is of type Signed integer and can be referenced with the variable name lines.
Set the number of lines of text that the display will show.
Lines will scroll off the top of the box once the display is full.
Font
This property is of type Font picker and can be referenced with the variable name Font.
Choose the font for the text. Any font installed on your PC can be used. If your file is opened on another
computer which does not have the specified font, an alternative will automatically be chosen.
Horizontal Align
This property is of type Fixed list of ints and can be referenced with the variable name AlignX.
Choose whether text will be aligned to the left, right or centre of the box width.
Vertical Align
This property is of type Fixed list of ints and can be referenced with the variable name AlignY.
Choose whether text will be aligned wih the top, bottom or middle of the box height.
Text
This property is of type Color picker and can be referenced with the variable name Color.
Color for the text characters.
Background
This property is of type Color picker and can be referenced with the variable name Background.
Color for the box background.
Bezel
This property is of type Color picker and can be referenced with the variable name Bezel.
Color for the bezel (3D border)
Thickness
This property is of type Floating point and can be referenced with the variable name bezel_thick.
The thickness of the bezel (3D border). This thickness will be maintained even when the component is
resized.
Margin
This property is of type Floating point and can be referenced with the variable name margin.
Set the margin size. This is used to insert a small blank space to the left and right of the text, so that
characters are not placed right up against the bezel.