Right Click on a datagrid column header
zryip theSlug
zryip.theslug at gmail.com
Fri Jan 21 17:23:15 EST 2011
On Fri, Jan 21, 2011 at 11:00 PM, Peter Haworth <pete at mollysrevenge.com> wrote:
> Thanks. That tells me how to grab the right click on a header column, but I also need to know the coordinates of the column that was clicked on. Any ideas?
Pete,
In the datagrid group script:
on mouseDown pMouseBtn
dgMouseDown pMouseBtn
if (the dgHeaderControl of the target is not empty) then
put the rect of the dgHeaderControl of the target
end if
end mouseDown
Best regards,
--
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
More information about the use-livecode
mailing list