GUI Control - ListNBox
38 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.
- lnbAddArrayAdds list of rows of strings.
- lnbAddColumnAdds a column at given position.
- lnbAddRowAdds a row of strings.
- lnbClearClears all items in the given listbox or combobox.
- lnbColorReturns the text color of the item with the given position of the 2D listbox. The color is returned in format Color (RGBA).
- lnbColorRightReturns the right color of given row.
- lnbCurSelRowReturns the index of the selected row id 2D listbox.
- lnbDataReturns the additional text (invisible) in an item with the given position of the 2D listbox.
- lnbDeleteColumnRemoves column with given index from ListNBox control.
- lnbDeleteRowRemoves row with the given index from the given listbox or combobox.
- lnbGetColumnsPositionReturns relative screen X of ListNBox control columns position [0.1,0.3,0.6...]. Use lnbSetColumnsPos to set positions.
- lnbPictureReturns the picture name or path of the item with the given position of the 2D listbox.
- lnbPictureRightReturns the right picture of given row. The *column* parameter does not matter.
- lnbSetColorSets the color of the item with the given position of the 2D listbox. Color is in format Color (RGBA).
- lnbSetColorRightSets the right color.
- lnbSetColumnsPosSets relative screen X for ListNBox control columns positions. Setter for lnbGetColumnsPosition.
- lnbSetCurSelRowSelects the row with the given index of the 2D listbox.
- lnbSetDataSets the additional text (invisible) on the item with the given position of the 2D listbox.
- lnbSetPictureSets the picture in the item with the given position of the 2D listbox.The picture is searched in the mission, directory, the dtaExt subdirectory of…
- lnbSetPictureColorSets the cell picture's colour.
- lnbSetPictureColorRightSets color of the right picture in a CT_LISTNBOX.
- lnbSetPictureColorSelectedSets the cell picture's colour on cell selection.
- lnbSetPictureColorSelectedRightSets the color of the right picture when it is selected.
- lnbSetPictureRightSets the cell's right-picture. The picture is set to the end of the row, the *column* parameter does not matter.
- lnbSetTextSets the text in the item with the given position of the 2D listbox.
- lnbSetTextRightSets cell's right-aligned text. Does not replace cell's text.
- lnbSetTooltipSets tooltip on the item with the given row and column of CT_LISTNBOX.
- lnbSetValueSets the additional integer value in the item with the position index of the 2D listbox.
- lnbSizeReturns size of CT_LISTNBOX. This command supports CT_TOOLBOX control since Arma 3 v2.06. For CT_COMBO or CT_LISTBOX see lbSize.
- lnbSortSorts given multicolumn listbox by lnbText in given column in ascending or descending order.
- lnbSortBySorts given multi-column ListNBox in the given column by either lnbText, lnbValue or lnbData in normal or reversed order, using case-sensitive or…
- lnbSortByValueSorts given multicolumn listbox by lnbValue in given column in ascending or descending order.
- lnbTextReturns the shown text in the item with the given position of the given 2D listbox.
- lnbTextRightReturns CT_LISTNBOX's right aligned cell text.
- lnbValueReturns the additional integer value in the item with the given position of the 2D listbox.