# FormSelectedItemChanged Event

> Occurs after the selected item of a combobox or dropdown list form field has been changed; passes the FieldId and updates the FieldCurrent property with it.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Event
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > FormSelectedItemChanged Event
- **208 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formselecteditemchanged-event/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formselecteditemchanged-event/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formselecteditemchanged-event/llms-full.txt

---

Occurs after the selected item of a combobox or a dropdown list has been changed.

Introduced: 28.0.

### Syntax

```vbscript
FormSelectedItemChanged(FieldId)
```

### Parameters

| Parameter | Description |
|---|---|
| FieldId | Is the identifier of the combobox or dropdown list. |

### Data Types

| Name | Data type |
|---|---|
| FieldId | Integer |

### Remarks

The value of the [FieldCurrent](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldcurrent-property/llms-full.txt) property is updated with the value given through the FieldId parameter.

### See Also

- [FormComboBoxInsert Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formcomboboxinsert-method/llms-full.txt)
- [FormDropDownListInsert Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formdropdownlistinsert-method/llms-full.txt)
- [Programming Category: Form Fields](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/form-fields/llms-full.txt)

---

## Nearby

- **Previous:** [FormFieldUncheckedChars Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfielduncheckedchars-property/llms-full.txt)
- **Next:** [FormTextFieldInsert Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formtextfieldinsert-method/llms-full.txt)
