{"name":"lbValue","title":"lbValue","type":"command","url":"https://community.bistudio.com/wiki/lbValue","revid":379448,"updated":"2026-10-31T00:07:52Z","groups":["GUI Control - ListBox"],"status":"ok","games":{"ofp":"1.75","ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofp 1.75","arma3_since":"0.50","locality":{"argument":"local","effect":"local"},"description":"Returns the additional integer value of the item with the given index of the CT_LISTBOX or CT_COMBO.","syntaxes":[{"syntax":"lbValue [idc, index]","params":[{"name":"idc","type":"Number","description":"control IDC","type_expr":"Number"},{"name":"index","type":"Number","type_expr":"Number"}],"returns":{"type":"Number","type_expr":"Number","description":"only integers"},"form":"unary","right":{"text":"[idc, index]"}},{"syntax":"control lbValue index","params":[{"name":"control","type":"Control","type_expr":"Control"},{"name":"index","type":"Number","type_expr":"Number"}],"returns":{"type":"Number","type_expr":"Number","description":"only integers"},"form":"binary","left":{"text":"control"},"right":{"text":"index"}}],"examples":[{"code":["_value = lbValue [101, 0];"]},{"code":["_value = _control lbValue 0;"]}],"see_also":["lbSetValue","lbSortByValue"],"notes":[{"user":"ffur2007slx2_5","date":"2014-09-10T00:00:00Z","text":"More information on the CT_LISTBOX command family can be found here."}]}