VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



This code uses a timer to randomly change the background of a form in regular intervals using one l

by Sherly Brigoli (1 Submission)
Category: Graphics
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Wed 22nd October 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)

This code uses a timer to randomly change the background of a form in regular intervals using one line of code

API Declarations


'create a timer and name it tmr
'set the interval property of timer to 100

Rate This code uses a timer to randomly change the background of a form in regular intervals using one l



     frm.Backcolor = QBColor(rnd * 15)
End Sub

Download this snippet    Add to My Saved Code

This code uses a timer to randomly change the background of a form in regular intervals using one l Comments

No comments have been posted about This code uses a timer to randomly change the background of a form in regular intervals using one l. Why not be the first to post a comment about This code uses a timer to randomly change the background of a form in regular intervals using one l.

Post your comment

Subject:
Message:
0/1000 characters