Jump to content

Component: Panel Console Viewer (Runtime Tools): Difference between revisions

From Flowcode Help
No edit summary
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
(20 intermediate revisions by 2 users not shown)
Line 17: Line 17:
==Component Source Code==
==Component Source Code==


Please click here for the component source code: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_DynamicTextField.fcfx FC_Comp_Source_DynamicTextField.fcfx]
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_DynamicTextField.fcfx FC_Comp_Source_DynamicTextField.fcfx]
 
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_DynamicTextField.fcfx FC_Comp_Source_DynamicTextField.fcfx]


==Detailed description==
==Detailed description==




Line 54: Line 74:


==Examples==
==Examples==




Line 89: Line 127:




==Macro reference==






==Property reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
| 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" | [[File:Fc9-type-17-icon.png]]
| width="90%" | Connect To
|-
| colspan="2" |  
|-
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
| width="90%" | Width
|-
| colspan="2" | Width of the console ripper component. 
|-
| width="10%" align="center" | [[File:Fc9-type-21-icon.png]]
| width="90%" | Number of lines
|-
| colspan="2" |  
|-
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
| width="90%" | Clear Old Data
|-
| colspan="2" | Removes old data from the console viewer when starting simulation if active. 
|}==Macro reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
==Macro reference==
 
===AppendText===
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetText'''
| width="90%" class="mtx-class-macrohead" | '''AppendText'''
|-
|-
| colspan="2" | Allows the selected text to be specified. 
| colspan="2" | Allows the text to be appended to without overwriting any existing text. 
|-
|-
|-
|-
Line 139: Line 167:
|-
|-
| colspan="2" |  
| colspan="2" |  
|-
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| width="90%" | AppendType
|-
| colspan="2" | 0=Start of Text, 1=End of Text 
|-
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
Line 145: Line 178:




{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
===AssignConsoleHandle===
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetText'''
| width="90%" class="mtx-class-macrohead" | '''AssignConsoleHandle'''
|-
|-
| colspan="2" | Allows the selected text to be read back. 
| colspan="2" | Assigns a specific console handle to one of the text fields. 
|-
|-
|-
|-
Line 156: Line 190:
| width="90%" | Item
| width="90%" | Item
|-
|-
| colspan="2" | 0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4 
| colspan="2" | 1=Col1, 2=Col2, 3=Col3, 4=Col4 
|-
| width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE
| width="90%" | ConsoleHandle
|-
| colspan="2" |  
|-
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-string-icon.png]] - STRING
| 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''
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|}
|}




{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
===GetText===
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''AssignConsoleHandle'''
| width="90%" class="mtx-class-macrohead" | '''GetText'''
|-
|-
| colspan="2" | Assigns a specific console handle to one of the text fields. 
| colspan="2" | Allows the selected text to be read back. 
|-
|-
|-
|-
Line 174: Line 214:
| width="90%" | Item
| width="90%" | Item
|-
|-
| colspan="2" | 1=Col1, 2=Col2, 3=Col3, 4=Col4 
| colspan="2" | 0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4 
|-
|-
| width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-string-icon.png]] - STRING
| width="90%" | ConsoleHandle
|-
| 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''
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|}
|}




{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
===SetColor===
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetColor'''
| width="90%" class="mtx-class-macrohead" | '''SetColor'''
|-
|-
| colspan="2" | Sets the selected item's color. 
| colspan="2" | Sets the selected item's color. 
Line 209: Line 245:




{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
===SetText===
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''AppendText'''
| width="90%" class="mtx-class-macrohead" | '''SetText'''
|-
|-
| colspan="2" | Allows the text to be appended to without overwriting any existing text. 
| colspan="2" | Allows the selected text to be specified. 
|-
|-
|-
|-
Line 226: Line 263:
|-
|-
| colspan="2" |  
| colspan="2" |  
|-
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| width="90%" | AppendType
|-
| colspan="2" | 0=Start of Text, 1=End of Text 
|-
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| 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''
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|}
|}




==Property reference==
==Property reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
| width="90%" class="mtx-class-macrohead" | '''Properties'''  
|-
|-
|-
|-

Latest revision as of 14:23, 13 July 2026

Author Matrix Ltd
Version 1.1
Category Runtime Tools


Panel Console Viewer component

An easy way to display the data from up to four console windows on the panel.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_DynamicTextField.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_DynamicTextField.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples












Macro reference

AppendText

AppendText
Allows the text to be appended to without overwriting any existing text. 
- BYTE Item
0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4 
- STRING Text
 
- BYTE AppendType
0=Start of Text, 1=End of Text 
- VOID Return


AssignConsoleHandle

AssignConsoleHandle
Assigns a specific console handle to one of the text fields. 
- BYTE Item
1=Col1, 2=Col2, 3=Col3, 4=Col4 
- HANDLE ConsoleHandle
 
- VOID Return


GetText

GetText
Allows the selected text to be read back. 
- BYTE Item
0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4 
- STRING Return


SetColor

SetColor
Sets the selected item's color. 
- BYTE Item
0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4, 5=Border 
- ULONG Color
 
- VOID Return


SetText

SetText
Allows the selected text to be specified. 
- BYTE Item
0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4 
- STRING Text
 
- VOID Return


Property reference

Properties
Width
Width of the console ripper component. 
Height
Heigth of the console ripper component. 
Title Size
Size applied to the title text font. 
Text Size
Size applied to the data text font. 
Number Columns
Sets the maximum number of consoles that can be displayed by the component. 
Title Color
Sets the colour of the title text. 
Text1 Color
Sets the colour of the data text 1. 
Text2 Color
Sets the colour of the data text 2. 
Border Color
Sets the colour of the border. 
Show Title
Decides if the title text is displayed. 
Clear Old Data
Removes old data from the console viewer when starting simulation if active.