View Full Version : VB: rollover technollagie..?
sir pannels
11-11-2002, 03:38 PM
Hey...
hmm read something about rollovers in VB.. didnt know this was possible...so is it just text or buttons too? any idea how to rollover a button?
i guess we cant us CSS hehe:D
ta
P:thumbsup:
oracleguy
11-11-2002, 06:56 PM
You mean to do something like this. (See attachment)
sir pannels
11-11-2002, 07:22 PM
hey man :)
yeh thats it.
can you gemme some info on how to do that?
cheers
p :thumbsup:
oracleguy
11-11-2002, 07:27 PM
Sure.
This probably isn't the best way to do it but it does get the job done.
Private Sub Command1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Command1.BackColor = vbRed
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Not Command1.BackColor = &H8000000F Then Command1.BackColor = &H8000000F
End Sub
vBulletin® v3.8.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.