VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



To change the background color of a form randomly

by Ranjan Biswal (2 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Wed 29th November 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)

To change the background color of a form randomly

Rate To change the background color of a form randomly



Private Sub Timer1_Timer()
Form1.BackColor = QBColor(Rnd * 13)
End Sub

Download this snippet    Add to My Saved Code

To change the background color of a form randomly Comments

No comments have been posted about To change the background color of a form randomly. Why not be the first to post a comment about To change the background color of a form randomly.

Post your comment

Subject:
Message:
0/1000 characters