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 need to refresh the value in the combobox after an event from other tool in the same add-in (ARCGIS 10.1. Python). I've changed the value of the combobox with the code: combobox.value = val and I want to show it in the combobox but I can't refresh this combobox after give a value in other tool. Can anyone help me?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

As documented in the help, use the .refresh() method:

combobox.value = val
combobox.refresh()
share|improve this answer
    
Great! Thanks you very much Jason! –  idean Mar 6 '13 at 9:55
add comment

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.