Code: Select all
on mouseUp
if the hilite of me then
dispatch "SetDataOfLine" to group "DataGrid" with 2, "checked", true
else
dispatch "SetDataOfLine" to group "DataGrid" with 2, "checked", false
end if
dispatch "RefreshList" to group "DataGrid-trans"
end mouseUp
Code: Select all
on mouseUp
if the hilite of me then
dispatch "SetDataOfLine" to group "DataGrid" with 2, "disabled", false
else
dispatch "SetDataOfLine" to group "DataGrid" with 2, "disabled", true
end if
dispatch "RefreshList" to group "DataGrid-trans"
end mouseUp