Fix for issue #77
This commit is contained in:
@@ -1830,4 +1830,12 @@ Public Class frmMain
|
||||
End If
|
||||
End Sub
|
||||
|
||||
'This event handler lets the user clear focus from the log by clicking anywhere on the form.
|
||||
'Due to txtLog being the only focusable control in most cases, it's impossible for it to lose focus unless force a focus change.
|
||||
Private Sub ClearLogFocus(sender As Object, e As EventArgs) Handles MyBase.Click, lblGameTitle.Click, lblStatus1.Click, lblStatus2.Click,
|
||||
lblStatus3.Click, pbTime.Click, lblTimeSpent.Click, lblLastActionTitle.Click, lblLastAction.Click, gMonMainMenu.Click, gMonStatusStrip.Click
|
||||
'Move focus to first label
|
||||
lblGameTitle.Focus()
|
||||
End Sub
|
||||
|
||||
End Class
|
||||
Reference in New Issue
Block a user