Code: Select all
on mouseUp pMouseBtnNum
if pMouseBtnNum is 1 then
if the short name of the target is "Check" then
if the hilite of button "Check" is true then
answer "checked"
else
answer "unchecked"
end if
end if
end if
end mouseUp
This code works correctly only for the first row in the data grid. If i check/uncheck another row it always answers "checked".
Also the dgDataOfLine, dgDataOfIndex, GetDataOfIndex and GetDataOfLine are empty so i don't have a way to get a lines data.
Could anyone please help me to do this?
Thanks,
Max