anyone know of any good mouseover controls or code..to create a mouse over effect for my command buttons?
:p
Printable View
anyone know of any good mouseover controls or code..to create a mouse over effect for my command buttons?
:p
Command Button responds to MouseMove event. What do you need to do?
thx mc.. just what i was looking for :D
i thought i'd go ahead and post what i did to the code mc told..
VB Code:
Private Sub Command2_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) ' will change the background color for the command button With Command2 If (X < 0) Or (Y < 0) Or (X > .Width) Or (Y > .Height) Then ReleaseCapture Command2.BackColor = &HE0E0E0 Else SetCapture .hwnd Command2.BackColor = vbWhite End If End With End Sub
and had to do one for every command button lol.. so now i have a cool mouseover effect on my buttons :D