VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Will make the background flash random colors.

by Steven Hogle-Jones (2 Submissions)
Category: Graphics
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 22nd May 2006
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Will make the background flash random colors.

API Declarations



randomize timer 'This makes the rnd function random by the timer (so it won't be 'the same everytime you try it) also if you want to make something else do it 'just change frmflash to whatever the name of the object is.

Rate Will make the background flash random colors.



   frmflash.backcolor = rgb(rnd*256,rnd*256,rnd*256)
end sub

Download this snippet    Add to My Saved Code

Will make the background flash random colors. Comments

No comments have been posted about Will make the background flash random colors.. Why not be the first to post a comment about Will make the background flash random colors..

Post your comment

Subject:
Message:
0/1000 characters