Download Now (about 1.5 MB) | Back to Hard & Software
The LED13ActiveX is a user control providing the functionality of a
13-segment LED. The user can either assign a Value to the LED, which will be
or the user can actually assign a ValueMask to the LED, which allows for turning on individual segments of the LED. LED13 is based on a sample ActiveX control that is available from Microsoft on its VB website. I have modified it to improve its ability to display non-numeric characters. An example VB6 program is included to illustrate how multiple LED13 digits may be combined to create a counter or similar display. LED13 properties are as follows:
LEDColorOn-- Assigns the color that will be used for the LED segments that are on (displayed).
LEDColorOff-- Assigns the color that will be used for the LED segments that are off (not displayed).
ShowBorder-- A Boolean that indicates whether or not to draw a border around the control.
ShowDecimal -- A Boolean that indicates whether or not the decimal indicator is on or off.
ShowDigit -- A Boolean that indicates whether the entire
LED should be on or off. Setting this to False will provide a "clear" LED, with
being set to off. NOTE: This does not effect the decimal ... use the ShowDecimal property to turn the decimal off.
Value-- An integer that holds the value of the LED. If ValueIsMask is set to False, then the range of Value is 0 to 9. If ValueIsMask is set to True, then the range of Value is 0 to 127.
ValueIsMask-- A Boolean that indicates whether the Value property will be used as a single-digit to display on the LED, or that Value is actually a binary-mask, indicating which segments on the LED are to be "turned on".
UsageUsage is pretty straight forward ... put the control on a form, and start assigning values to Value. However, a "better" usage is probably by using multiple LED controls to make displays, such as "Number Of Visitors" or other LED-type displays. See the README.TXT file that is installed by Setup for more details.
This ActiveX control is provided free, without warranty of any kind. You are free to use it for any purpose that you deem reasonable, but the author is not responsible for any such use (or misuse), or for any damage that might result from its use. Treat this software like you would any beta software. It may work as described, but if it does not, you got what you paid for.
Feel free to contact me if you have problems. However, I cannot guarantee that I will be able to respond in a timely way. Please let me know about any successes.
Back to Hard & Software