{"name":"lbSetColorRight","title":"lbSetColorRight","type":"command","url":"https://community.bistudio.com/wiki/lbSetColorRight","revid":377346,"updated":"2026-01-02T06:40:03Z","groups":["GUI Control - ListBox"],"status":"ok","games":{"ofp":null,"ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofp","arma3_since":"0.50","locality":{"argument":"local","effect":"local"},"description":"Sets 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.","syntaxes":[{"syntax":"lbSetColorRight [idc, index, color]","params":[{"name":"idc","type":"Number","description":"control id","type_expr":"Number"},{"name":"index","type":"Number","type_expr":"Number"},{"name":"color","type":"Color (RGBA)","type_expr":"Color"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"[idc, index, color]"}},{"syntax":"control lbSetColorRight [index, color]","params":[{"name":"control","type":"Control","type_expr":"Control"},{"name":"index","type":"Number","type_expr":"Number"},{"name":"color","type":"Color (RGBA)","type_expr":"Color"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"control"},"right":{"text":"[index, color]"}}],"examples":[{"code":["lbSetColorRight [101, 0, [0, 1, 0, 0.5]];"]},{"code":["_control lbSetColorRight [0, [0, 1, 0, 0.5]];"]}],"see_also":["lbAdd","lbClear","lbColor","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbSelection","lbSetColor","lbSetCurSel","lbSetData","lbSetPicture","lbSetSelected","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortByValue","lbText","lbValue"],"notes":[{"user":"ffur2007slx2_5","date":"2014-09-10T16:30:00Z","text":"More information on the CT_LISTBOX command family can be found here."}]}