# Combobox know label want index

**URL:** <https://forum.kirupa.com/t/combobox-know-label-want-index/314806>\
**Category:** Uncategorized\
**Created:** [October 9, 2010, 4:27am UTC](https://forum.kirupa.com/t/combobox-know-label-want-index/314806 "2010-10-09T04:27:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![phastings](https://avatars.discourse-cdn.com/v4/letter/p/e9bcb4/32.png) [@phastings](https://forum.kirupa.com/u/phastings)\
**Post date:** [October 9, 2010, 4:27am UTC](https://forum.kirupa.com/t/combobox-know-label-want-index/314806/1 "2010-10-09T04:27:33Z")

</div>

i am trying to set the selectedIndex of a combo box. i know the label name but not the index position. is it possible to get the index position from the label or better yet just set the active combo box field by passing it the label?
