VB6 Dropdown menu - add item

Posted on 2007-07-27
Last Modified: 2008-02-01

I have to add another item to a toolbar/dropdown menu at the top of a form in VB6
How do I do this?

Question by:murbro
    LVL 13

    Expert Comment

    Use this
    LVL 13

    Accepted Solution

    sorry misunderstood
    Press Ctrl + E to open menu editor
    then add menu items
    LVL 48

    Expert Comment

    >> I have to add another item to a toolbar/dropdown menu at the top of a form in VB6

    If it this not by code select the toolbar and in the properties windows select custom. Then tab buttons, select you dropdown menu and in the button menus insert a new one.

    By code: Toolbar1.Buttons(YourButtonPosition).ButtonMenus.Add IndexOfTheLastOne, "key", "menu text"

    Author Comment

    Thanks very much

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
    Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
    As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
    Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now