GUI Control - ListBox
40 scripting commands. Also as Markdown for agents.
- ctrlAutoScrollDelayReturns number of seconds auto-scroll will wait before scroll and/or rewind. -2 if scrollbar not present.
- ctrlAutoScrollRewindReturns true if auto-scroll should move back to start after it reaches the end.
- ctrlAutoScrollSpeedReturns number of seconds to auto-scroll one line. -1 if auto-scroll is disabled. -2 if scrollbar not present.
- lbAddAdds an item with the given text to the CT_LISTBOX or CT_COMBO or CT_TOOLBOX.
- lbClearClear all items from a CT_LISTBOX or CT_COMBO control.
- lbColorReturns the text color of the item with the given index of the CT_LISTBOX or CT_COMBO with IDC of the topmost user dialog.
- lbColorRightReturns the text color of the item (right) with the given index of the listbox or combobox with id idc of the topmost user dialog.
- lbCurSelReturns the index of the selected item of the CT_LISTBOX, CT_LISTNBOX, CT_COMBO or CT_TOOLBOX. For CT_LISTBOX with multi selection enabled use…
- lbDataReturns the data set in given index of the CT_LISTBOX or CT_COMBO.
- lbDeleteRemoves the item with the given index from the CT_LISTBOX, CT_COMBO or CT_TOOLBOX.
- lbIsSelectedChecks whether or not given row of the given listbox is selected.
- lbPictureReturns the picture name of the item with the given index of the listbox or combobox with id idc of the topmost user dialog.
- lbPictureRightReturns the right picture name of the item with the given index of the listbox or combobox with id idc of the topmost user dialog.
- lbSelectionReturns Array of selected rows indices in the given listbox. If listbox is of style LB_MULTI (multi-selection) the array will contain multiple…
- lbSetColorSets the color of the item (left) with the given index of the listbox or combobox with id idc of the topmost user Dialog to color.
- lbSetColorRightSets the color of the item (right) with the given index of the listbox or combobox with id idc of the topmost user dialog to color.
- lbSetCurSelSelects the item with the given index in the listbox, listnbox, combobox, xcombobox, xlistbox
- lbSetDataSets the additional text (invisible) in the item with the given index of the listbox or combobox with id idc of the topmost user dialog to the given…
- lbSetPictureSets the left picture in the row with given index of CT_LISTBOX or CT_COMBO.
- lbSetPictureColorSets the color of item's picture (left) with the given index of the listbox with id idc of the topmost user dialog to the given color. Color is in…
- lbSetPictureColorDisabledSets the disabled color of item's picture (left) with the given index of the listbox with id idc of the topmost user dialog to the given color. Color…
- lbSetPictureColorSelectedSets the selected color of item's picture (left) with the given index of the listbox with id idc of the topmost user dialog to the given color. Color…
- lbSetPictureRightSets the second (right aligned) picture in the item with the given index of the listbox or combobox with id idc of the topmost user dialog. Name is…
- lbSetPictureRightColorSets the color of the second (right aligned) picture of the given index of the listbox with id idc of the topmost user dialog to the given color.…
- lbSetPictureRightColorDisabledSets the disabled color of second (right aligned) picture of the item with the given index of the listbox with id idc of the topmost user dialog to…
- lbSetPictureRightColorSelectedSets the selected color of the second (right aligned) picture of the item with the given index of the listbox with id idc of the topmost user dialog…
- lbSetSelectColorSets the select color of the item with the given index of the listbox or combobox with id idc of the topmost user dialog to color.
- lbSetSelectColorRightSets the select color of the of the secondary text (right aligned) of the item with the given index of the listbox or combobox with id idc of the…
- lbSetSelectedSets the selection state of the given row of the given listbox of style LB_MULTI. The command has to be called for every row which is needed to be…
- lbSetTextSets the text on the left side of the item with the given index of the listbox or combobox with id idc of the topmost user dialog.
- lbSetTextRightSets the text on the right side of the item with the given row index of the listbox or combobox with id idc of the topmost user dialog.
- lbSetTooltipSets tooltip for item with given index of the listbox or combobox with id idc of the topmost user dialog to the given data.
- lbSetValueSets the additional value in the row with the given index of a CT_LISTBOX or CT_COMBO control.
- lbSizeReturns the number of items in a CT_LISTBOX or CT_COMBO control. For CT_TOOLBOX size see lnbSize.
- lbSortSorts listbox entries alphabetically ascending by their lbText.
- lbSortBySorts given ListBox by either lbText, lbValue or lbData in normal or reversed order, using case-sensitive or case-insensitive comparison. This…
- lbSortByValueSorts the ListBox entries by lbValue. The entries are sorted in ascending order. Also note that this command will mix up the entries randomly if…
- lbTextReturns the shown text of the item with the given index of the CT_LISTBOX or CT_COMBO.
- lbTextRightReturns the shown right text in the item with the given index of the listbox or combobox with id idc of the topmost user dialog.
- lbValueReturns the additional integer value of the item with the given index of the CT_LISTBOX or CT_COMBO.