I am looking to visit each row of a datagrid and check whether a checkbox is hilited or not, something along the lines of the following:
Code: Select all
on mouseup
put the long id of group "dg_example" into t_dg
put the dgnumberoflines of t_dg into t_no_of_lines
put "" into t_line_no
repeat until t_line_no = t_no_of_lines
put t_line_no + "1" into t_line_no
if the hilite of button "check_box" of dgline[t_line_no] of t_dg = "true" then
--do something
end if
end repeat
end mouseup
Any input would be much appreciated.
Many Thanks