To Diplay a Command Button differently when the mouse is Over it. Simple Code
To Diplay a Command Button differently when the mouse is Over it. Simple Code
API Declarations
'When the Mouse is over the Command button It is becomes Bold and font size is
'Increase by 1. When it leaves from Button it is back to Normal.
' Take a command Button and Paste the code.
Rate To Diplay a Command Button differently when the mouse is Over it. Simple Code
(1(1 Vote))
If Command1.FontBold = False Then
Command1.FontBold = True
Command1.FontSize = 12
End If
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Command1.FontBold = True Then
Command1.FontBold = False
Command1.FontSize = 10
End If
End Sub
To Diplay a Command Button differently when the mouse is Over it. Simple Code Comments
No comments yet — be the first to post one!
Post a Comment