Re: Embed some NSControl in the NSTableView field?
Re: Embed some NSControl in the NSTableView field?
- Subject: Re: Embed some NSControl in the NSTableView field?
- From: Corbin Dunn <email@hidden>
- Date: Wed, 20 Aug 2008 09:55:11 -0700
On Aug 20, 2008, at 3:33 PM, Leopard x86 wrote:
Hi everyone.
Maybe this idea is rather crazy, I do want to know whether it is
practicable or not.
The NSTableView is essentially a table to the end user. For example,
your application may seem like the following:
Tableheader1 Tableheader2
MyVolume Value = 0.5
Maybe it is a little tedious to double click the "Value = 0.5" field
to edit the value.
On Leopard and higher (which I see you are using), it is a single
click on an already selected row to begin editing. (A double click
works too, since the first click selects, and the second edits).
I want to replace the field with a NSSlider control, so the user can
adjust it. Like the following:
Tableheader1 Tableheader2
MyVolume =====+======= (<-- this is a slider)
Is there any way to accomplish this task? Thank you very much for
any suggestion.
Um, yeah! Just drag the appropriate cell out to the column in IB. You
don't have to have an NSControl in there. Just the cell will do.
-corbin
_______________________________________________
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