{"name":"lnbColor","operator":null,"title":"lnbColor","type":"command","url":"https://community.bistudio.com/wiki/lnbColor","revid":377372,"updated":"2026-01-02T06:42:22Z","groups":["GUI Control - ListNBox"],"status":"ok","replaced_by":[],"games":[{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2","name":"Arma 2","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns the text color of the item with the given position of the 2D listbox. The color is returned in format Color (RGBA).","syntaxes":[{"syntax":"lnbColor [idc, [row, column]]","since":null,"effect":null,"exec":null,"params":[{"name":"idc","type":"Number","optional":false,"default":null,"description":null,"types":["Number"],"since":null,"text":"idc: Number"},{"name":"row","type":"Number","optional":false,"default":null,"description":null,"types":["Number"],"since":null,"text":"row: Number"},{"name":"column","type":"Number","optional":false,"default":null,"description":null,"types":["Number"],"since":null,"text":"column: Number"}],"returns":{"type":"Color (RGBA)","types":["Color"],"description":null,"text":"Color (RGBA)"},"form":"unary","operator":null,"left":null,"right":{"text":"[idc, [row, column]]","types":["Array"]}},{"syntax":"control lnbColor [row, column]","since":null,"effect":null,"exec":null,"params":[{"name":"control","type":"Control","optional":false,"default":null,"description":null,"types":["Control"],"since":null,"text":"control: Control"},{"name":"row","type":"Number","optional":false,"default":null,"description":null,"types":["Number"],"since":null,"text":"row: Number"},{"name":"column","type":"Number","optional":false,"default":null,"description":null,"types":["Number"],"since":null,"text":"column: Number"}],"returns":{"type":"Color (RGBA)","types":["Color"],"description":null,"text":"Color (RGBA)"},"form":"binary","operator":null,"left":{"text":"control","types":["Control"]},"right":{"text":"[row, column]","types":["Array"]}}],"examples":[{"text":"```sqf\n_ctrl lnbColor [0,0];\n```","code":["_ctrl lnbColor [0,0];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["lnbAddArray","lnbAddColumn","lnbAddRow","lnbClear","lnbCurSelRow","lnbData","lnbDeleteColumn","lnbDeleteRow","lnbGetColumnsPosition","lnbPicture","lnbSetColor","lnbSetColumnsPos","lnbSetCurSelRow","lnbSetData","lnbSetPicture","lnbSetText","lnbSetValue","lnbSize","lnbText","lnbValue"],"notes":[],"categories":["Arma 2: New Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: GUI Control - ListNBox","Introduced with Arma 2 version 1.00","Scripting Commands","Take On Helicopters: Scripting Commands"]}