-
How Do I set the mnuItems as inactive?
I am refering to the menu design. I would like to know how I make certain options in my menus appear as greyed or inactive? Annnnd....
Since your all on the ball, how do I replace a mnuItem with another in runtime? In other words I want to have an option for "ON" and if a user clicks it, it will turn imediately to displaying as "off".
I thank you all for your keen wits, clever comments, and superb attitudes!
Daniel Christie
-
Assuming you menu item is called mnuItem use this
Private Sub mnuItem_Click()
If mnuItem.Caption = "ON" Then
mnuItem.Caption = "OFF"
Else
mnuItem.Caption = "ON"
End If
End Sub