Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

[Short TUT] Making a rollover button that flashes [Short TUT]

Nice... It is nice ;)
It's better to use a single picturebox and rotate the images from the resources. It's less messy.
Far from a TUT, i didnt learn jack shit except how to copy and past crap.

but, i would of done it like the other dude stated, and simply use the "Mouse Enter" & "Mouse Leave" events.

Code
Sub ME handles picturebox1.mouseenter
picturebox1.image = my.resources.image2
end sub

Sub ML handles picturebox1.mouseLeave
picturebox1.image = my.resources.image1
end sub
Very, Very nice and short, I never new this could be done!

Well done mate.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by LeonieHackPetaBytes2Jan 23, 2019 05:10 PM 1 227 Jan 23, 2019 05:10 PM
Last Post: 0xDEAD10CC
[C#] by KaleMar 7, 2016 05:01 PM 4 185 Mar 7, 2016 05:01 PM
Last Post: Kale
[.NET] by DatageniNov 15, 2015 05:48 AM 2 284 Nov 15, 2015 05:48 AM
Last Post: Datageni