I have to trap the mousedown event on a datagrid to get the mouse coords.
I have read the LC lesson about the mouseDown on datagrid, but unfortunatly, the mouseDown script is never executed. (Verified with a breakpoint that is never reached)
I also tried this following script in the Behavior Script of the datagrid, but it is never executed too.
Code: Select all
local sMouseDistX, sMouseDistY
on mouseDown pMouseBtnNum
put item 1 of the mouseLoc into sMouseDistX
put item 2 of the mouseLoc into sMouseDistY
end mouseDown