• Menu Bars

    Author
    Topic
    #352903

    Hello,

    I’m working with A97, and need to show a menubar button only if a certain form is loaded. I do not want to use a separate menu bar button if at all possible. I have tried to use the Isloaded function in the macro condition but am having no luck.

    Can anyone help?

    Viewing 0 reply threads
    Author
    Replies
    • #514609

      You can make it visible by:

      CommandBars(“YourCommandBarName”).Controls(“YourButtonName”).Visible = True

      and, surprisingly, you can make it invisible by:
      CommandBars(“YourCommandBarName”).Controls(“YourButtonName”).Visible = False

    Viewing 0 reply threads
    Reply To: Menu Bars

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: