Mar 5, 2010 03:02 PM
(This post was last modified: Mar 5, 2010 03:05 PM by Nezami.)
Hi guys I am going to show you how to make a rollover button that flashes when you rollover it.
To start with you will need 2 images.
- Don't HAVE to be same size but it looks better
- Prefibly the same image, E.G A blue question mark and then a red question mark
So once you have your 2 images, I'm going to use 2 question marks from RuneScape, open up VB and make a new project and then add 2 "Picture boxes"
[IMG]http://i48.[censored].com/20qakxf.jpg[/IMG]
Now once you have done that, go to the one you want to show SECOND and go to properites then scroll down to "visible" and set as "false"
[IMG]http://i48.[censored].com/182bs1.jpg[/IMG]
Now, double click the first picture box (the one that is visible at the start) and then go to the top right and select "MouseMove"
[IMG]http://i47.[censored].com/343rlgp.jpg[/IMG]
Now type in this code
Ofcourse replace the "picturebox2" and "picturebox1" with which ones you want.
[IMG]http://i48.[censored].com/29xjhv8.jpg[/IMG]
Now once you have done that, go back onto your form and double click the OTHER button, the one that appears after rolling over the first one, and go to the top right again and select "MouseLeave" and put this code
[IMG]http://i47.[censored].com/2qwki0k.jpg[/IMG]
And that's it! To make the buttons better, put one on top of the other then it will look like it flashes rather then a different image appearing.
Credits
------------------------------------
%90 to me for making the tutorial
%10 to DarkZero for making THISprogram which made me make the tut.
More tutorials
------------------------------------
Runescape free pin methods - 6 methods
How to upload videos to YouTube (Some ppl don't know)
How to generate random numbers on VB (to make fake keygens etc)
To start with you will need 2 images.
- Don't HAVE to be same size but it looks better
- Prefibly the same image, E.G A blue question mark and then a red question mark
So once you have your 2 images, I'm going to use 2 question marks from RuneScape, open up VB and make a new project and then add 2 "Picture boxes"
[IMG]http://i48.[censored].com/20qakxf.jpg[/IMG]
Now once you have done that, go to the one you want to show SECOND and go to properites then scroll down to "visible" and set as "false"
[IMG]http://i48.[censored].com/182bs1.jpg[/IMG]
Now, double click the first picture box (the one that is visible at the start) and then go to the top right and select "MouseMove"
[IMG]http://i47.[censored].com/343rlgp.jpg[/IMG]
Now type in this code
Code
PictureBox2.Visible = False
PictureBox1.Visible = TrueOfcourse replace the "picturebox2" and "picturebox1" with which ones you want.
[IMG]http://i48.[censored].com/29xjhv8.jpg[/IMG]
Now once you have done that, go back onto your form and double click the OTHER button, the one that appears after rolling over the first one, and go to the top right again and select "MouseLeave" and put this code
Code
picturebox1.visible = false
picturebox2.visible = true[IMG]http://i47.[censored].com/2qwki0k.jpg[/IMG]
And that's it! To make the buttons better, put one on top of the other then it will look like it flashes rather then a different image appearing.
Credits
------------------------------------
%90 to me for making the tutorial
%10 to DarkZero for making THISprogram which made me make the tut.
More tutorials
------------------------------------
Runescape free pin methods - 6 methods
How to upload videos to YouTube (Some ppl don't know)
How to generate random numbers on VB (to make fake keygens etc)



![[Image: tKaYikM.jpg]](https://i.imgur.com/tKaYikM.jpg)