...

VB: rollover technollagie..?

sir pannels
11-11-2002, 02: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, 05:56 PM
You mean to do something like this. (See attachment)

sir pannels
11-11-2002, 06:22 PM
hey man :)
yeh thats it.
can you gemme some info on how to do that?
cheers
p :thumbsup:

oracleguy
11-11-2002, 06: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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum