Article ID: 191859
Article Last Modified on 3/3/2005
Option Explicit
Private Sub Command1_Click()
MsgBox "CommandButton Clicked"
End Sub
Private mvHasFocus As Boolean
Private Sub Command1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If mvHasFocus Then
mvHasFocus = False
Call Command1_Click
End If
End Sub
Private Sub MonthView1_GotFocus()
mvHasFocus = True
End Sub
Keywords: kbbug kbctrl KB191859