Component: Image Switch (Controls)
Author | Matrix TSL |
Version | 1.0 (Release) |
Category | Controls |
Contents
Image Switch component
A simple simulation only switch capable of displaying an image and with a coloured border to make it easy to tell when the switch is being clicked.
Examples
No additional examples
Downloadable macro reference
This component does not contain any downloadable macros
Simulation macro reference
GetState
Reads the state of the switch
Parameters
- This macro has no parameters
Return value
- BOOL : Returns true if the operation is a success, else false
SetState
Sets the state of the switch
Parameters
- BOOL State
Return value
- This call does not return a value
Property reference
Switch Type
This property is of type Fixed list of ints and can be referenced with the variable name SwitchType.
No additional information
Default State
This property is of type Fixed list of ints and can be referenced with the variable name DefaultState.
No additional information
Off Colour
This property is of type Color picker and can be referenced with the variable name OffCOlour.
No additional information
On Colour
This property is of type Color picker and can be referenced with the variable name OnColour.
No additional information
Image File
This property is of type Filename and can be referenced with the variable name Image.
No additional information