• 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
[newbie]: UI questions (using NSSlider & NSTextField with delegation)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[newbie]: UI questions (using NSSlider & NSTextField with delegation)


  • Subject: [newbie]: UI questions (using NSSlider & NSTextField with delegation)
  • From: email@hidden
  • Date: Mon, 12 Aug 2002 10:06:24 -0400

Hello
I have a simple question about using an NSSlider to populate an NSTextField
(I checked the list archives first, though). I am able to have the
NSTextField updated by taking an intValue from the NSSlider. This works
fine. I have my controller object set up as the delegate object for the
NSTextField (it implements the controlTextDidChange method), but the
controller object only seems to be notified when I actually go in and
modify the NSTextField manually (not when it's changed via the slider). My
question is how can I get the NSSlider to update the text field and have
that value be sent to the controller as well? I'm sure I'm just missing
something simple. Thanks.

Shayne White
Software Developer


Global Structured Products Group
SSgA Boston
email@hidden
617.664.6032 (phone)
617.664.4449 (fax)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: [newbie]: UI questions (using NSSlider & NSTextField with delegation)
      • From: Martin Weil <email@hidden>
  • Prev by Date: Re: MOKit memory problem
  • Next by Date: Undocumented Cocoa?
  • Previous by thread: Re: Subclassing a button
  • Next by thread: Re: [newbie]: UI questions (using NSSlider & NSTextField with delegation)
  • Index(es):
    • Date
    • Thread