• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: tags and sliders
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tags and sliders


  • Subject: Re: tags and sliders
  • From: Sherm Pendley <email@hidden>
  • Date: Tue, 29 Mar 2005 01:01:08 -0500

On Mar 29, 2005, at 12:49 AM, Chris Stephens wrote:

It's not connecting to the method that I'm having trouble with: it's getting a method to set a particular slider's value. All the sliders already have unique tag numbers so how do I send a message (i.e. the desired value) to a slider that has a tag of 20 (e.g.)?

Get the enclosing window's content view with NSWindow's -contentView,, then use NSView's -viewWithTag: with the tag of the slider you want.


sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

_______________________________________________
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


References: 
 >Re: tags and sliders (From: Ian was here <email@hidden>)
 >Re: tags and sliders (From: Chris Stephens <email@hidden>)

  • Prev by Date: Re: tags and sliders
  • Next by Date: Re: where are my OS SDKs?
  • Previous by thread: Re: tags and sliders
  • Next by thread: RE: Creating controls dynamically (Rohit Bhatia)
  • Index(es):
    • Date
    • Thread