|
-
Feb 4th, 2000, 01:54 PM
#1
Thread Starter
Addicted Member
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
-
Feb 4th, 2000, 03:05 PM
#2
New Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|