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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to