# Call a function with a Combobox

**URL:** <https://forum.kirupa.com/t/call-a-function-with-a-combobox/291839>\
**Category:** Uncategorized\
**Created:** [July 6, 2009, 4:30pm UTC](https://forum.kirupa.com/t/call-a-function-with-a-combobox/291839 "2009-07-06T16:30:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ruiganga](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ruiganga/32/3679_2.png) [@ruiganga](https://forum.kirupa.com/u/ruiganga)\
**Post date:** [July 6, 2009, 4:30pm UTC](https://forum.kirupa.com/t/call-a-function-with-a-combobox/291839/1 "2009-07-06T16:30:38Z")

</div>

Hi

I have 2 comboboxes. One with countries and athe second with the citys. The second is only filled after the first is selected. How can I do that?

Thanks
