Well, that page gives you enough example code to make it trivial to create one, try it out, and see if it does what you need. :-)
-- Charles On Thursday, October 16, 2014 at 10:43, Ulf Dunkel wrote: > Charles, > > so I should investigate on NSTextTable instead of NSTableView, right? > > - - - - - > > Am 16.10.2014 um 14:41 schrieb Charles Jenkins: > > Ulf, > > > > As you can see from my text view struggles, I’m no expert, but I don’t > > think you’ll have a lot of success trying to stick an NSTableView into > > an NSTextView. The kind of table you put inside a text view is a > > different animal: really just a fancy attributed string the text system > > knows how to display and manipulate as a table. > > > > Check > > out > > https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/TextLayout/Articles/TextTables.html > > > > -- > > > > Charles > > > > On Thursday, October 16, 2014 at 8:13, Ulf Dunkel wrote: > > > > > When I place a table (NSTableView) in an TextEdit document, I can easily > > > resize the column width of any table column using the mouse pointer, > > > just by dragging the column border lines to and fro. > > > > > > In my app, I want to use the same tables (NSTableView), but inside > > > NSTextView containers in a layout document. Is it possible to get > > > information about whether the mouse pointer is over the column border > > > lines of a nested NSTableView inside an NSTextView? At the moment, the > > > text edit mode for my NSTextView handles clicks into the table cells of > > > the embedded NSTableView so I can type in some text there. But I cannot > > > drag the column border lines for resizing columns widths and/or row > > > heights. > > > > > > Is this not possible? > > > > > > ---Ulf Dunkel > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com > (mailto:Cocoa-dev@lists.apple.com)) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > (http://lists.apple.com) > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/cejwork%40gmail.com > > This email sent to cejw...@gmail.com (mailto:cejw...@gmail.com) _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com