Component: Panel Console Viewer (Simulation)
Author | Matrix Ltd |
Version | 1.1 (Release) |
Category | Simulation |
Contents
Panel Console Viewer component
An easy way to display the data from up to four console windows on the panel.
Examples
No additional examples
Downloadable macro reference
This component does not contain any downloadable macros
Simulation macro reference
SetText
Allows the selected text to be specified.
Parameters
- BYTE Item
- 0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4
- <- STRING Text
- This parameter may be returned back to the caller
Return value
- This call does not return a value
GetText
Allows the selected text to be read back.
Parameters
- BYTE Item
- 0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4
Return value
AssignConsoleHandle
Assigns a specific console handle to one of the text fields.
Parameters
- BYTE Item
- 1=Col1, 2=Col2, 3=Col3, 4=Col4
- HANDLE ConsoleHandle
Return value
- This call does not return a value
SetColor
Sets the selected item's color.
Parameters
- BYTE Item
- 0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4, 5=Border
- ULONG Color
Return value
- This call does not return a value
AppendText
Allows the text to be appended to without overwriting any existing text.
Parameters
- BYTE Item
- 0=Title, 1=Col1, 2=Col2, 3=Col3, 4=Col4
- <- STRING Text
- This parameter may be returned back to the caller
- BYTE AppendType
- 0=Start of Text, 1=End of Text
Return value
- This call does not return a value
Property reference
Width
This property is of type Floating point and can be referenced with the variable name Width.
Width of the console ripper component.
Height
This property is of type Floating point and can be referenced with the variable name Height.
Heigth of the console ripper component.
Title Size
This property is of type Floating point and can be referenced with the variable name TitleSize.
Size applied to the title text font.
Text Size
This property is of type Floating point and can be referenced with the variable name TextSize.
Size applied to the data text font.
Number Columns
This property is of type Fixed list of ints and can be referenced with the variable name NumCols.
Sets the maximum number of consoles that can be displayed by the component.
Title Color
This property is of type Color picker and can be referenced with the variable name TitleColor.
Sets the colour of the title text.
Text1 Color
This property is of type Color picker and can be referenced with the variable name Text1Color.
Sets the colour of the data text 1.
Text2 Color
This property is of type Color picker and can be referenced with the variable name Text2Color.
Sets the colour of the data text 2.
Border Color
This property is of type Color picker and can be referenced with the variable name BorderColor.
Sets the colour of the border.
Show Title
This property is of type True or false and can be referenced with the variable name ShowTitle.
Decides if the title text is displayed.
Clear Old Data
This property is of type True or false and can be referenced with the variable name ClearOldData.
Removes old data from the console viewer when starting simulation if active.