Copyright © 2024 | All Rights Reserved
LED controls can be used as indicators, and have a number of properties that allow them be used in a variety of applications; Figure 1 shows a few of the styles that can be configured.
able 1 lists the properties specific to an LED control. A list of common properties can be found under Common Control Properties.
Table 1: LED Control Properties
Function and Options | |
---|---|
LED On Color
Double-click to open the standard Windows color picker, where you can select the color shown when in the On state.
LED Off Color
Double-click to open the standard Windows color picker, where you can select the color shown when in the Off state.
NumLEDs
Sets the number of LEDs to display in the control; can be used to display LED bar graphs or binary values.
LEDStyle
Specifies the style for the LED control when the value of the NumLEDs property is greater than 1:
0-Binary: Displays a numeric value as a binary sequence.
1-Bargraph: Displays a numeric value as a bar graph.
2-Cylon: Lights up the LED that matches the assigned value.
3-Reverse Binary: Displays a numeric value as a binary sequence with On and Off states reversed.
Shape
Specifies the shape of the control:
0-Circle
1-Square