|
|
(5 intermediate revisions by the same user not shown) |
Line 17: |
Line 17: |
| ==Component Source Code== | | ==Component Source Code== |
| | | |
− | Please click here to download the component source project: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_Dashboard_Text.fcfx FC_Comp_Source_Dashboard_Text.fcfx] | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_Dashboard_Text.fcfx FC_Comp_Source_Dashboard_Text.fcfx] |
| | | |
| Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_Dashboard_Text.fcfx FC_Comp_Source_Dashboard_Text.fcfx] | | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_Dashboard_Text.fcfx FC_Comp_Source_Dashboard_Text.fcfx] |
Line 41: |
Line 41: |
| | | |
| | | |
− | ''No detailed description exists yet for this component''
| |
| | | |
− | ==Examples==
| |
| | | |
| | | |
| | | |
| + | ''No detailed description exists yet for this component'' |
| | | |
| + | ==Examples== |
| | | |
| | | |
Line 64: |
Line 64: |
| | | |
| | | |
− | ''<span style="color:red;">No additional examples</span>''
| |
− |
| |
− |
| |
− | ==Macro reference==
| |
| | | |
− | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
− | |-
| |
− | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Clear'''
| |
− | |-
| |
− | | colspan="2" | Remove all text from the display.
| |
− | |-
| |
− | |-
| |
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
− | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
− | |}
| |
− |
| |
− |
| |
− | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
− | |-
| |
− | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''PrintString'''
| |
− | |-
| |
− | | colspan="2" | Add the given text to the display immediately after the most recent character and without beginning a new line.
| |
− | |-
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
| |
− | | width="90%" | Text
| |
− | |-
| |
− | | colspan="2" | The text to add to the display.
| |
− | |-
| |
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
− | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
− | |}
| |
− |
| |
− |
| |
− | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
− | |-
| |
− | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''PrintNumber'''
| |
− | |-
| |
− | | colspan="2" | Write the given number to the display. It will be placed immediately after the last character on the display without beginning a new line.
| |
− | |-
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
− | | width="90%" | Number
| |
− | |-
| |
− | | colspan="2" |
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| |
− | | width="90%" | Places
| |
− | |-
| |
− | | colspan="2" |
| |
− | |-
| |
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
− | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
− | |}
| |
| | | |
| | | |
− | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
− | |-
| |
− | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''PrintLine'''
| |
− | |-
| |
− | | colspan="2" | DIsplay the given string on a new line. If the display is full, it will scroll upwards to make space.
| |
− | |-
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
| |
− | | width="90%" | Text
| |
− | |-
| |
− | | colspan="2" | The text to add to the display.
| |
− | |-
| |
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
− | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
− | |}
| |
| | | |
| | | |
| | | |
| | | |
− | ==Property reference==
| |
| | | |
− | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| + | ''<span style="color:red;">No additional examples</span>'' |
− | |-
| |
− | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| |
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''
| |
− | |-
| |
− | |-
| |
− | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
− | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Text
| |
− | |-
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-type-11-icon.png]]
| |
− | | width="90%" | Start Text
| |
− | |-
| |
− | | colspan="2" | Set the text that will appear when the component is initialised.
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-type-14-icon.png]]
| |
− | | width="90%" | Lines
| |
− | |-
| |
− | | colspan="2" | 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.
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-type-3-icon.png]]
| |
− | | width="90%" | Font
| |
− | |-
| |
− | | colspan="2" | 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.
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
| |
− | | width="90%" | Horizontal Align
| |
− | |-
| |
− | | colspan="2" | Choose whether text will be aligned to the left, right or centre of the box width.
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
| |
− | | width="90%" | Vertical Align
| |
− | |-
| |
− | | colspan="2" | Choose whether text will be aligned wih the top, bottom or middle of the box height.
| |
− | |-
| |
− | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
− | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Colors
| |
− | |-
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
| |
− | | width="90%" | Text
| |
− | |-
| |
− | | colspan="2" | Color for the text characters.
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
| |
− | | width="90%" | Background
| |
− | |-
| |
− | | colspan="2" | Color for the box background.
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
| |
− | | width="90%" | Bezel
| |
− | |-
| |
− | | colspan="2" | Color for the bezel (3D border)
| |
− | |-
| |
− | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
− | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Bezel
| |
− | |-
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
| |
− | | width="90%" | Thickness
| |
− | |-
| |
− | | colspan="2" | The thickness of the bezel (3D border). This thickness will be maintained even when the component is resized.
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
| |
− | | width="90%" | Margin
| |
− | |-
| |
− | | colspan="2" | 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.
| |
− | |}==Macro reference==
| |
| | | |
− | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
− | |-
| |
− | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Clear'''
| |
− | |-
| |
− | | colspan="2" | Remove all text from the display.
| |
− | |-
| |
− | |-
| |
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
− | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
− | |}
| |
| | | |
| | | |
− | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
− | |-
| |
− | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''PrintString'''
| |
− | |-
| |
− | | colspan="2" | Add the given text to the display immediately after the most recent character and without beginning a new line.
| |
− | |-
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
| |
− | | width="90%" | Text
| |
− | |-
| |
− | | colspan="2" | The text to add to the display.
| |
− | |-
| |
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
− | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
− | |}
| |
| | | |
| | | |
− | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
− | |-
| |
− | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''PrintNumber'''
| |
− | |-
| |
− | | colspan="2" | Write the given number to the display. It will be placed immediately after the last character on the display without beginning a new line.
| |
− | |-
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
− | | width="90%" | Number
| |
− | |-
| |
− | | colspan="2" |
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| |
− | | width="90%" | Places
| |
− | |-
| |
− | | colspan="2" |
| |
− | |-
| |
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
− | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
− | |}
| |
| | | |
| | | |
− | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
− | |-
| |
− | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''PrintLine'''
| |
− | |-
| |
− | | colspan="2" | DIsplay the given string on a new line. If the display is full, it will scroll upwards to make space.
| |
− | |-
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
| |
− | | width="90%" | Text
| |
− | |-
| |
− | | colspan="2" | The text to add to the display.
| |
− | |-
| |
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
− | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
− | |}
| |
| | | |
| | | |
| | | |
| | | |
− | ==Property reference==
| |
| | | |
− | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| + | ==Macro reference== |
− | |-
| |
− | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| |
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''
| |
− | |-
| |
− | |-
| |
− | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
− | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Text
| |
− | |-
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-type-11-icon.png]]
| |
− | | width="90%" | Start Text
| |
− | |-
| |
− | | colspan="2" | Set the text that will appear when the component is initialised.
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-type-14-icon.png]]
| |
− | | width="90%" | Lines
| |
− | |-
| |
− | | colspan="2" | 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.
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-type-3-icon.png]]
| |
− | | width="90%" | Font
| |
− | |-
| |
− | | colspan="2" | 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.
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
| |
− | | width="90%" | Horizontal Align
| |
− | |-
| |
− | | colspan="2" | Choose whether text will be aligned to the left, right or centre of the box width.
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
| |
− | | width="90%" | Vertical Align
| |
− | |-
| |
− | | colspan="2" | Choose whether text will be aligned wih the top, bottom or middle of the box height.
| |
− | |-
| |
− | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
− | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Colors
| |
− | |-
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
| |
− | | width="90%" | Text
| |
− | |-
| |
− | | colspan="2" | Color for the text characters.
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
| |
− | | width="90%" | Background
| |
− | |-
| |
− | | colspan="2" | Color for the box background.
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
| |
− | | width="90%" | Bezel
| |
− | |-
| |
− | | colspan="2" | Color for the bezel (3D border)
| |
− | |-
| |
− | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
− | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Bezel
| |
− | |-
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
| |
− | | width="90%" | Thickness
| |
− | |-
| |
− | | colspan="2" | The thickness of the bezel (3D border). This thickness will be maintained even when the component is resized.
| |
− | |-
| |
− | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
| |
− | | width="90%" | Margin
| |
− | |-
| |
− | | colspan="2" | 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.
| |
− | |}==Macro reference==
| |
| | | |
| + | ===Clear=== |
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
| |- | | |- |
Line 372: |
Line 101: |
| | | |
| | | |
| + | ===PrintLine=== |
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] |
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''PrintString''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''PrintLine''' |
| |- | | |- |
− | | colspan="2" | Add the given text to the display immediately after the most recent character and without beginning a new line. | + | | colspan="2" | DIsplay the given string on a new line. If the display is full, it will scroll upwards to make space. |
| |- | | |- |
| |- | | |- |
Line 390: |
Line 120: |
| | | |
| | | |
| + | ===PrintNumber=== |
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
| |- | | |- |
Line 413: |
Line 144: |
| | | |
| | | |
| + | ===PrintString=== |
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] |
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''PrintLine''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''PrintString''' |
| |- | | |- |
− | | colspan="2" | DIsplay the given string on a new line. If the display is full, it will scroll upwards to make space. | + | | colspan="2" | Add the given text to the display immediately after the most recent character and without beginning a new line. |
| |- | | |- |
| |- | | |- |
Line 429: |
Line 161: |
| | width="90%" style="border-top: 2px solid #000;" | ''Return'' | | | width="90%" style="border-top: 2px solid #000;" | ''Return'' |
| |} | | |} |
− |
| |
− |
| |
| | | |
| | | |