Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

VB6 Dropdown menu - add item

Hi

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

Thanks
Avatar of Hitesh Manglani
Hitesh Manglani
Flag of India image

Use this
ComboBox1.Additem("Itemname")
ASKER CERTIFIED SOLUTION
Avatar of Hitesh Manglani
Hitesh Manglani
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jorge Paulino
>> 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"
Avatar of Murray Brown

ASKER

Thanks very much