Nordin 0 Posted May 29, 2010 If have a Checkbox with 4 names in it, how do i check which ones who are marked or not so I can use the return value in a script? lbCurSel but for Checkboxes.... Share this post Link to post Share on other sites
Joshii 10 Posted May 29, 2010 onCheckBoxesSelChanged = "hint format[""Checkbox change:\n%1\nEntry#: %2\nNewState: %3"",(_this select 0),(_this select 1),(_this select 2)];" Share this post Link to post Share on other sites
Nordin 0 Posted May 29, 2010 Yes I know that but that only shows that I selected X and if its turned on or off ... What I want to know is if V X Y Z are selected, not that I just selected V and it is on. Something like this. () shows my selection: (1) 2 (3) (4) ?????? mycheckbox = [[1] ,[3],[4]] Share this post Link to post Share on other sites
Joshii 10 Posted May 30, 2010 Well if it shows you that you selected X and if it's turned on then you can build up some nice if (x&&y&&z) stuff with it right? Share this post Link to post Share on other sites
CarlGustaffa 4 Posted May 31, 2010 Checkboxes has been problematic for me for that reason. I tried implementing "my own logic" handler that tried to keep track of the changes, but sometimes it would miss and the opposite state for a checkbox item was "reported". I gave up at that point and went with buttons instead. A simple way to read the state array from a checkbox set would be much appreciated. Share this post Link to post Share on other sites