VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



it changes the colour of the label's text randomly from 256*256*256 colors

by MEHER RANJAN (1 Submission)
Category: Graphics
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 2nd June 2006
Date Added: Mon 8th February 2021
Rating: (1 Votes)

it changes the colour of the label's text randomly from 256*256*256 colors

API Declarations


'place a timer on your form named t1 and set it's interval to 100
'place a label on your form named l1
'change form's backcolor to black
'adjust the label's font size

Rate it changes the colour of the label's text randomly from 256*256*256 colors



i=i+10
l1.forecolor=rnd*rgb(i,i,i)
end sub

Download this snippet    Add to My Saved Code

it changes the colour of the label's text randomly from 256*256*256 colors Comments

No comments have been posted about it changes the colour of the label's text randomly from 256*256*256 colors. Why not be the first to post a comment about it changes the colour of the label's text randomly from 256*256*256 colors.

Post your comment

Subject:
Message:
0/1000 characters