jacmac 2 Posted March 29, 2014 The code below populates the listbox just fine, but lbSetSelected has no visible effect. I've tried the same thing with a combobox; lbSetSelected doesn't appear to do anything. The combobox will be populated, but the box shows blank until the player selects an item. disableSerialization; _disp = findDisplay IDD_DIALOG1; _control = _disp displayCtrl IDC_Quick_List; _controlnum = IDC_Quick_List; _count = 0; { lbAdd [_controlnum, _x select 2]; lbSetData [_controlnum, [_count,_x select 1]]; lbSetPicture [_controlnum, _count, _x select 0]; _count = _count + 1; } foreach ArrayQuickList; _control lbSetSelected [1, true]; Share this post Link to post Share on other sites
dr_strangepete 5 Posted March 29, 2014 On the wiki discussion for lbSetSelected, a note from august says this is broken in arma 3, and recommends the use of lbSetCurSel Share this post Link to post Share on other sites
jacmac 2 Posted March 29, 2014 (edited) Thanks. I'll update the biki myself then; I wish they would put it in the notes instead of the discussion... And confirmed, lbSetCurSel does fix the problem. Edited March 29, 2014 by Jacmac Share this post Link to post Share on other sites