Re: Table double click action
Re: Table double click action
- Subject: Re: Table double click action
- From: Wayne Melrose <email@hidden>
- Date: Mon, 11 Jul 2011 15:49:23 +0200
Thanks Shane,
I had a quick go with no luck. I'm wondering if it's my bindings. For the moment, I've based it on the multi column example in your book. Used the same method as you've suggested there.
On 11. juli 2011, at 15.16, Shane Stanley wrote:
> You set the method to be called by double-clicking with setDoubleAction:
>
> tell theTable to setDoubleAction_("actionHandlerName:")
> tell theTable to setTarget_(me) -- if it doesn't already have a target
>
> Then you do your stuff in:
>
> on actionHandlerName_(sender)
>
> How you do the rest depends a bit on how you populate the table (bindings vs
> datasource).
>
> (Very nice pix, BTW...)
>
> --
> Shane Stanley <email@hidden>
> 'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> applescriptobjc-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden