hey, i need help making a program than when the mouse it placed over the forum the forum automatically jumps to a new location on the screen, therefore making it like a game of cat and mouse, please help me out.
Printable View
hey, i need help making a program than when the mouse it placed over the forum the forum automatically jumps to a new location on the screen, therefore making it like a game of cat and mouse, please help me out.
This forum?
:D
Use the MouseMove event of the form, changing the Top & Left properties.
Tg
Or use the .Move method of the fom to do it in one line of code in the MouseMove event. ;)
VB Code:
Me.Move Math.Rnd * (Application.Width - Me.Width), Math.Rnd * (Application.Height - Me.Height)