Re: AppleScriptObjC Explored 5, radio buttons
Re: AppleScriptObjC Explored 5, radio buttons
- Subject: Re: AppleScriptObjC Explored 5, radio buttons
- From: Shane Stanley <email@hidden>
- Date: Sun, 24 Sep 2017 12:31:01 +1000
On 24 Sep 2017, at 12:44 am, Jim Weisbin <email@hidden> wrote:
>
> The information I’ve gleaned so far seems to be that if you drag in a bunch
> of radio buttons and bind them to the same property, they should act as a
> button group.
You can't use bindings like that without a matrix, as far as I can tell. As
Phil said, you need to have them call the same action handler, and belong to
the same subview -- probably best to drag out a custom view for that purpose.
Then your handler is something like:
on clickedButton:sender
set theTitle to sender's title()
-- whatever
display dialog theTitle as text
end clickedButton:
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>
_______________________________________________
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