{"name":"lbSetPictureRightColor","operator":null,"title":"lbSetPictureRightColor","type":"command","url":"https://community.bistudio.com/wiki/lbSetPictureRightColor","revid":377351,"updated":"2026-01-02T06:40:13Z","groups":["GUI Control - ListBox"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.22"}],"since":{"game":"arma3","name":"Arma 3","version":"1.22"},"arma3_since":"1.22","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Sets 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.\nColor which consists from only zeros means disable this override.","syntaxes":[{"syntax":"lbSetPictureRightColor [idc, index, color]","since":null,"effect":null,"exec":null,"params":[{"name":"idc","type":"Number","optional":false,"default":null,"description":"control id","types":["Number"],"since":null,"text":"idc: Number - control id"},{"name":"index","type":"Number","optional":false,"default":null,"description":null,"types":["Number"],"since":null,"text":"index: Number"},{"name":"color","type":null,"optional":false,"default":null,"description":"Color (RGBA)","types":["Color"],"since":null,"text":"color: Color (RGBA)"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"[idc, index, color]","types":["Array"]}},{"syntax":"control lbSetPictureRightColor [index, color]","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":"index","type":"Number","optional":false,"default":null,"description":null,"types":["Number"],"since":null,"text":"index: Number"},{"name":"color","type":null,"optional":false,"default":null,"description":"Color (RGBA)","types":["Color"],"since":null,"text":"color: Color (RGBA)"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"control","types":["Control"]},"right":{"text":"[index, color]","types":["Array"]}}],"examples":[{"text":"```sqf\nlbSetPictureRightColor [101, 0, [0, 1, 0, 0.5]];\n```","code":["lbSetPictureRightColor [101, 0, [0, 1, 0, 0.5]];"]},{"text":"```sqf\n_ctrl lbSetPictureRightColor [0, [1, 1, 1, 1]];\n```","code":["_ctrl lbSetPictureRightColor [0, [1, 1, 1, 1]];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["lbAdd","lbClear","lbColor","lbSetPictureColorSelected","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbSelection","lbSetColor","lbSetCurSel","lbSetData","lbSetSelected","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortByValue","lbText","lbValue","lbSetPicture","lbSetPictureColor"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: GUI Control - ListBox","Introduced with Arma 3 version 1.22","Scripting Commands"]}