VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Use the QBColor Function to make a form's backcolor change every second

by Brent Embrey (9 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 17th October 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Use the QBColor Function to make a form's backcolor change every second

Rate Use the QBColor Function to make a form's backcolor change every second



set the timer interval to 1000***

***put the following code in the command button***

Click = QBColor(Rnd * 15)
Form1.BackColor = Click

***put this code in the timer***

Command1_Click

Download this snippet    Add to My Saved Code

Use the QBColor Function to make a form's backcolor change every second Comments

No comments have been posted about Use the QBColor Function to make a form's backcolor change every second. Why not be the first to post a comment about Use the QBColor Function to make a form's backcolor change every second.

Post your comment

Subject:
Message:
0/1000 characters