• 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
Re: Embed some NSControl in the NSTableView field?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Embed some NSControl in the NSTableView field? (From: Leopard x86 <email@hidden>)

  • Prev by Date: Re: NSTableColumn not usable with binder of class NSTextValueBinder?
  • Next by Date: mouseMoved events and unfocused views
  • Previous by thread: Embed some NSControl in the NSTableView field?
  • Next by thread: Simple NSView Question
  • Index(es):
    • Date
    • Thread