Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Viewing all articles
Browse latest Browse all 1449

(VB6) Virtual LED control

$
0
0
It simulates a LED (light emitting diode).

Properties:

Color: Red/Green/yellow/Blue/White/Custom (the Custom color is defined from properties BorderColor, ColorOn and ColorOff)

State: On/Off/Blinking

BlinkType: Shorter/Short/Medium/Long/Twice

BlinkPeriod: in milliseconds

Shape: Round/Square/Rectangle/RoundedSquare/RoundedRectangle

ToggleOnClick: the control changes On/Off on click (not while blinking)

BorderWidth: in pixels, the default is 1.

Style: 2D or 3D.

Events: Click, DblClick, MouseDown/MouseMove/MouseUp

It can be used as a toggle control, like a switch, when property ToggleOnClick is set to True.
You can get the state change from the Click event.

Download from GitHub.

Name:  LED_Scr1_3D.png
Views: 57
Size:  8.1 KB


Name:  LED_Scr2_3D.png
Views: 56
Size:  9.3 KB


Name:  LED_Scr3.png
Views: 79
Size:  7.2 KB


Name:  LED_Scr4.png
Views: 78
Size:  6.3 KB


Download from GitHub.
Attached Images
    

Viewing all articles
Browse latest Browse all 1449

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>