Results 1 to 2 of 2

Thread: Moving the forms Randomly

  1. #1
    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.

  2. #2
    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...

Similar Threads

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

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,626,022.25436 seconds with 16 queries