jjr@therogers.com.au

Adding a Dropdown List to a Custom Menu

Discussion created by jjr@therogers.com.au on Jun 21, 2010
I am trying to create a custom toolbar using items from the Utility Network Toolbar.  Single button items are working fine, but as soon as I try to add a drop-down menu to the toolbar, it does not appear.

I am using the following line to try to add the Trace Task Dropdown List:

AddItem("esriEditorExt.UtilityTasksControl")

Does this require a special style to be set, or perhaps AddItem is not the correct way of getting a drop down on to a toolbar?

I have attached an image showing the item as it appears on the Utility Network Toolbar.

Attachments

Outcomes