{"name":"lbTextRight","title":"lbTextRight","type":"command","url":"https://community.bistudio.com/wiki/lbTextRight","revid":377807,"updated":"2026-01-03T04:08:07Z","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 shown right text in the item with the given index of the listbox or combobox with id idc of the topmost user dialog.","syntaxes":[{"syntax":"lbTextRight [idc, index]","params":[{"name":"idc","type":"Number","type_expr":"Number"},{"name":"index","type":"Number","type_expr":"Number"}],"returns":{"type":"String","type_expr":"String"},"form":"unary","right":{"text":"[idc, index]"}},{"syntax":"control lbTextRight index","params":[{"name":"control","type":"Control","type_expr":"Control"},{"name":"index","type":"Number","type_expr":"Number"}],"returns":{"type":"String","type_expr":"String"},"form":"binary","left":{"text":"control"},"right":{"text":"index"}}],"examples":[{"code":["_text = lbTextRight [101, 0];"]},{"code":["_text = _control lbTextRight 0;"]}],"see_also":["lbSetTextRight","lbAdd","lbClear","lbColor","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbSelection","lbSetColor","lbSetCurSel","lbSetData","lbSetPicture","lbSetSelected","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortByValue","lbValue"]}