Re: tags and sliders
Re: tags and sliders
- Subject: Re: tags and sliders
- From: Ian was here <email@hidden>
- Date: Mon, 28 Mar 2005 20:49:22 -0800 (PST)
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
You want a single method to handle all the sliders in
matrix's and sliders that are single? OK, you know how
to set the value of sliders in a matrix with the
cellWithTag. What you can do with the sliders that are
single is give them each a unique tag number.
Therefor, each slider (within a matrix or single) will
have a unique tag from any other. Then you just
connect the sliders and matrix's to your action
method.
Hope that helps.
--- Chris Stephens <email@hidden> wrote:
> Hi folks,
>
> I'm fairly new to Cocoa and Interface Builder so
> forgive me if this is
> an easy one (in fact, I'm sort of expecting that it
> is!).
>
> I have an app with a whole bunch of sliders,
> arranged in different
> groups: groups of seven down to groups of one.
>
> I have one method that handles input from all the
> sliders using tags to
> determine which slider was moved. This all works
> fine.
>
> But how do I set the value of an individual slider
> programmatically?
>
> I have managed to do it with sliders in a matrix
> using cellWithTag: but
> I don't really want them in a matrix - and some are
> singles...
>
> Do I use viewWithTag: and if so how..? I've tried a
> few things and they
> haven't worked. And I've googled around and searched
> this list and
> can't find anything.
>
> Any help much appreciated!
>
> Thanks in advance,
>
> Chris
>
> _______________________________________________
> Do not post admin requests to the list. They will be
> ignored.
> Cocoa-dev mailing list
> (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
>
> This email sent to email@hidden
>
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden