by Benoy Anthony (5 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sun 4th February 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
"Change Form Color Automatic"
API Declarations
(Add timer to your form)
(Set timer interval to 1)
Private Sub Timer1_Timer()
If col > 255 Then
col = 1
Else
col = col + 1
End If
Form1.BackColor = RGB(col, 134, 121)
End Sub