by Z¨?? (2 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Tue 8th June 2004
Date Added: Mon 8th February 2021
Rating:
(1 Votes)
SUPER EASY!!! Creates Random Background Colors For Your Form. The Color Changes 5 Times Every Second. You Can Activate Or De-Activate The
'you need to make 1 timer
me.backcolor = rgb(255*rnd,255*rnd,255*rnd)
End Sub
*******************************************************************************
COPY THIS NEXT PART INTO A BUTTON TO ACTIVATE THE BACKGROUND EFFECTS
*******************************************************************************
Private Sub Command1_Click()
Timer1.Interval = "200"
End Sub
*******************************************************************************
COPY THIS NEXT PART INTO A BUTTON TO DE-ACTIVATE THE BACKGROUND EFFECTS
*******************************************************************************
Private Sub Command2_Click()
Timer1.Interval = "0"
End Sub
No comments have been posted about SUPER EASY!!! Creates Random Background Colors For Your Form. The Color Changes 5 Times Every Secon. Why not be the first to post a comment about SUPER EASY!!! Creates Random Background Colors For Your Form. The Color Changes 5 Times Every Secon.