Right Click on a datagrid column header
Peter Haworth
pete at mollysrevenge.com
Fri Jan 21 17:30:14 EST 2011
Great, thanks!
Pete Haworth
On Jan 21, 2011, at 2:23 PM, zryip theSlug wrote:
> 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
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list