Multiple controls in a table cell
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