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
Tóm tắt bởi AI: 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.
Mã nguồn
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
Bình luận gốc (3)
Được khôi phục từ Wayback Machine