I need to make a combobox that will adjust the items shown dynamically as the user inputs text. Here is the section of code that I was trying to make work: $s_vendor = GUICtrlRead($cmb_vendor) If $s_vendor = "" OR $s_vendor <> $s_old_vendor Then If $s_vendor <> "" And Not _GUICtrlComboBox_GetDroppedState($cmb_vendor) Then _GUICtrlComboBox_ShowDropDown($cmb_vendor,True) If $s_vendor = "" And _GUICtrlComboBox_GetDroppedState($cmb_vendor) Then _GUICtrlComboBox_ShowDropDown($c