{"name":"lbColorRight","title":"lbColorRight","type":"command","url":"https://community.bistudio.com/wiki/lbColorRight","revid":379431,"updated":"2026-10-31T00:05:37Z","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":"Returns the text color of the item (right) with the given index of the listbox or combobox with id idc of the topmost user dialog.","syntaxes":[{"syntax":"lbColorRight [idc, index]","params":[{"name":"idc","type":"Number","description":"control's id","type_expr":"Number"},{"name":"index","type":"Number","type_expr":"Number"}],"returns":{"type":"Color (RGBA)","type_expr":"Color"},"form":"unary","right":{"text":"[idc, index]"}},{"syntax":"control lbColorRight index","params":[{"name":"control","type":"Control","type_expr":"Control"},{"name":"index","type":"Number","type_expr":"Number"}],"returns":{"type":"Color (RGBA)","type_expr":"Color"},"form":"binary","left":{"text":"control"},"right":{"text":"index"}}],"examples":[{"code":["_colour = lbColorRight [101, 0];"]},{"code":["_color = _control lbColorRight 0;"]}],"see_also":["lbAdd","lbClear","lbColor","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbPictureRight","lbSelection","lbSetColor","lbSetColorRight","lbSetCurSel","lbSetData","lbSetPicture","lbSetPictureRight","lbSetSelected","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortByValue","lbText","lbValue"],"notes":[{"user":"ffur2007slx2_5","date":"2014-09-10T00:00:00Z","text":"More information on the CT_LISTBOX command family can be found here."}]}