Fade Label Caption to Red
These codes fade a Label ForeColor from Black to Red, Blue, or Green. They were written to be used on a Splash Screen. I used them on my Splash Screen and it works pretty good I like it...
AI
AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Source Code
Private Sub FadeRed(Label As Label) Static FadeColor As Integer FadeColor = FadeColor + 1 Label.ForeColor = RGB (FadeColor*2.5, 0, 0) End Sub Private Sub FadeBlue(Label As Label) Static FadeColor As Integer FadeColor = FadeColor + 1 Label.ForeColor = RGB (0, 0, FadeColor*2.5) End Sub Private Sub FadeGreen(Label As Label) Static FadeColor As Integer FadeColor = FadeColor + 1 Label.ForeColor = RGB (0, FadeColor*2.5, 0) End Sub
Original Comments (3)
Recovered from Wayback Machine