.. highlightlang:: us .. index:: ComboSelectString .. _comboselectstring: ComboSelectString ================= .. us.tag ComboSelectString NOTREADYENGLISH :ref:`ComboSelectString` searches for a string in the list box of a combo box and, if the string is found, selects the string in the list box and copies the string to the edit control. .. function:: bool = ComboSelectString(ssString) bool = ComboSelectString(ssString, nID) .. us.return **Return Value** If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: ssString *ssString* .. uparam:: nID *nID* is 1 for the toolbar combo box ``"Import"`` (default value) and 2 for the ``"DatasetStyle"`` combo box. .. seealso:: :ref:`ComboAddString`, :ref:`ComboResetContent`, :ref:`ComboGetString` :sub:`id-1304129`