.. highlightlang:: us .. index:: GetListBoxText .. _getlistboxtext: GetListBoxText ============== .. us.tag GetListBoxText ENGLISH New422 DialogBoxes Changed530 :ref:`GetListBoxText` splits the return value of a combo box or list box into a string vector. The value is returned from the :ref:`DialogBox` function. .. function:: svSel = GetListBoxText(ssText) = GetListBoxText(ssText) = GetListBoxText(ssText) svSel = GetListBoxText(ssText, bSplit) = GetListBoxText(ssText, bSplit) = GetListBoxText(ssText, bSplit) .. us.return **Return Value** *svSel* is a string vector with the selected elements. *svList* is a vector with the elements of the listbox. *rvSelIndex* is a real vector with the indices (row numbers) of the selected elements. .. us.params **Parameters** .. uparam:: ssText *ssText* is a scalar string which is returned from the :ref:`DialogBox` function or a dialog callback function. .. uparam:: bSplit If *bSplit* is TRUE (1) the element is split into a string vector. Default value is TRUE (1). .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - 4.2.2 - New * - 4.2.4 - Function can handle the separators ``|`` and ``@`` or ``\0x01`` and ``\0x02``. * - 5.3.0 - New return parameter *rvSelIndex*. .. seealso:: :ref:`overview-dialogboxes`, :ref:`DialogBox`, :ref:`CreateListBoxText`, :ref:`ReportControl_GetInit`, :ref:`ReportControl_GetMatrix` :sub:`id-1384116`