• 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
Multiple controls in a table cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple controls in a table cell


  • Subject: Multiple controls in a table cell
  • From: Randall Meadows <email@hidden>
  • Date: Mon, 5 May 2008 17:16:32 -0600

Ok, so I have my table displaying a variety of controls in different rows, thanks to Leopard's new tableView:dataCellForTableColumn:row: method. Now, to throw a wrench into the works...

One of the aforementioned control types is a NSSlider. This particular slider has a very wide range (2800-10000 in increments of 100), so it'd be real nice to be able to also show a text field beside it that displays the current value (since NSSlider's setTitle: is deprecated, and, apparently, not very useful since the text is blocked by the control handle?). [I use a slider so I can more easily enforce the range and increment rule dictated by the hardware I'm interfacing with.]

So what I'd like to do is put both an NSSlider and an NSTextField in a single table cell, but I'm failing to see how I might accomplish that. Anyone have any great ideas (FSDO "great")?


Thanks! randy _______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Multiple controls in a table cell
      • From: Louis Sinclair <email@hidden>
    • Re: Multiple controls in a table cell
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: Cannot remove an observer ... because it is not registered as an observer.
  • Next by Date: Re: Accessing attributes of XML
  • Previous by thread: Re: I Never get 'self' in Obj-C
  • Next by thread: Re: Multiple controls in a table cell
  • Index(es):
    • Date
    • Thread