# Manually set ComboBox.selectedItem

**URL:** <https://forum.kirupa.com/t/manually-set-combobox-selecteditem/259971>\
**Category:** flash\
**Created:** [May 11, 2008, 3:36am UTC](https://forum.kirupa.com/t/manually-set-combobox-selecteditem/259971 "2008-05-11T03:36:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![evilmrsock](https://avatars.discourse-cdn.com/v4/letter/e/ba9def/32.png) [@evilmrsock](https://forum.kirupa.com/u/evilmrsock)\
**Post date:** [May 11, 2008, 3:36am UTC](https://forum.kirupa.com/t/manually-set-combobox-selecteditem/259971/1 "2008-05-11T03:36:39Z")

</div>

I’m clearly not seeing the forest for the trees here.

How do I set a ComboBox to display a specific label in its list?

Current Example: ComboBox is a list of fonts : Arial, Helvetica, Courier.

I have buttons associated with text formats.

If I press a button, I want to read textFormat.font and have the combobox display the label that is the same.

I already have it so changing the ComboBox changes the font of the text, it’s just when I click to the next textFormat I can’t seem to get the ComboBox to reset to the current font.
