Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have to retrograde an ESRI add-in application from ArcGIS 10.1 to ArcGIS 9.3.1.

My challenge is how in the drop down list can I add base tool control( will be shown as icons inside the drop down list : red and green icons )enter image description here,

In ArcGIS 9.3.1 is easier to create a drop down list containing text:

enter image description here

By default a drop down list can't contain image , how can I overcome that?

share|improve this question
    
After re-reading your question... I am curious as to how the dropdown in the first screenshot was implemented. Is that actually a dropdown (combobox) or a menu? –  blah238 Mar 19 '13 at 2:40
    
In VS 2010 add-in solution right click on the solution and add ArcGIS Add-in component and then choose Tool Palette .At this stage you will get a tool palette that u can add tools on it or u can edit the esri add-in xml file by adding <ToolPalette> <Items> <Tool.... –  Amo Mar 19 '13 at 16:18

1 Answer 1

If you are developing out of visual studio try using Listview control instead of a listbox. You can use the ListViewItem.ImageKey Property.

share|improve this answer
    
Thanks this has resolved the challenge and I was even able to have icon and text label associated with the icon –  Amo Mar 19 '13 at 16:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.