banchana

arcmap add in combo box

Discussion created by banchana on Aug 9, 2013
I have created an arcmap add in project where I have a toolbar. In the toolbar I have two combo boxes and a tool.
When I open the arcmap document, I want one of the combo boxes to be populated with the map toc layer names. Then based on the selection in first combobox, I want to populate the second combo box. It used to very easy before.

1. Where do I populate the combo box, in the combobox class itself or from somewhere else? I don't see oncreate or onload events for combo boxes.
2. How do i get reference to the second combox from On Sel Change of the First combo box?

Thanks!

Outcomes