Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 24-12-2008
Member
 
Join Date: Dec 2008
Posts: 13
Moving the forms Randomly

Hey Guys,

I want a code, that if i open the form, then it would randomly bounce around the screen.
Reply With Quote
  #2  
Old 24-12-2008
Member
 
Join Date: Dec 2008
Posts: 19
Re: Moving the forms Randomly

add a timer control, set it's interval to 100 or your desired speed.

under timer1_timer event place this code:

me.top = rnd * 10000
me.left = rnd * 10000


then run your project...
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags:



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Moving the forms Randomly"
Thread Thread Starter Forum Replies Last Post
Different forms of GPS in Take on Helicopters? Farhat$ Video Games 7 31-10-2011 08:34 PM
Where to get NIFT forms Atakapa Education Career and Job Discussions 5 11-11-2010 02:16 PM
Flash forms MahaGuru Software Development 3 01-06-2009 06:32 PM
Forms In C#.net sagngh88 Software Development 1 19-05-2009 08:09 AM
Variables to use in many forms! RupaliP Software Development 3 19-02-2009 11:41 PM


All times are GMT +5.5. The time now is 08:35 PM.