Posted on July 22, 2011
1
2
3
4
5
6
7
| 'Forms - How to display a tick sign in menu when status bar is visible and hide it when it is hidden
Private Sub mnuViewStatus_Click()
' First, add or remove the check sign.
mnuViewStatus.Checked = Not mnuViewStatus.Checked
' Then make the status bar visible or not.
staStatusBar.Visible = mnuViewStatus.Checked
End Sub |