lnbColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
Line 17: Line 17:
|descr= Returns the text color of the item with the given position of the 2D listbox. The color is returned in format [[Color|Color (RGBA)]].
|descr= Returns the text color of the item with the given position of the 2D listbox. The color is returned in format [[Color|Color (RGBA)]].


|s1= [[lnbColor]] [idc, [row, column]]
|s1= [[lnbColor]] [idc, [row, column]]


|p1= idc: [[Number]]
|p1= idc: [[Number]]

Revision as of 23:21, 19 June 2021

Hover & click on the images for description

Description

Description:
Returns the text color of the item with the given position of the 2D listbox. The color is returned in format Color (RGBA).
Groups:
GUI Control - ListNBox

Syntax

Syntax:
lnbColor [idc, [row, column]]
Parameters:
idc: Number
row: Number
column: Number
Return Value:
Array

Alternative Syntax

Syntax:
control lnbColor [row, column]
Parameters:
control: Control
row: Number
column: Number
Return Value:
Array

Examples

Example 1:
_ctrl lnbColor [0,0];

Additional Information

See also:
lnbAddArraylnbAddColumnlnbAddRowlnbClearlnbCurSelRowlnbDatalnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbPicturelnbSetColorlnbSetColumnsPoslnbSetCurSelRowlnbSetDatalnbSetPicturelnbSetTextlnbSetValuelnbSizelnbTextlnbValue

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note