Results 1 to 2 of 2

Thread: How Do I set the mnuItems as inactive?

  1. #1

    Thread Starter
    Addicted Member Daniel_Christie's Avatar
    Join Date
    Jan 2000
    Location
    USA
    Posts
    245

    Post

    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

  2. #2
    New Member
    Join Date
    Feb 2000
    Posts
    15

    Post

    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
  •  



Click Here to Expand Forum to Full Width