VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Make a Command Button go crazy

by Brent Embrey (9 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 30th October 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Make a Command Button go crazy

Rate Make a Command Button go crazy



'add a command button and a timer
'set the timer interval to 100
'paste the code below in the timer and then run the program

Command1.Top = Int(Rnd * 2600)
Command1.Left = Int(Rnd * 3400)


Download this snippet    Add to My Saved Code

Make a Command Button go crazy Comments

No comments have been posted about Make a Command Button go crazy. Why not be the first to post a comment about Make a Command Button go crazy.

Post your comment

Subject:
Message:
0/1000 characters