• 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: NSTableView inside NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView inside NSTextView


  • Subject: Re: NSTableView inside NSTextView
  • From: Ulf Dunkel <email@hidden>
  • Date: Thu, 16 Oct 2014 16:43:21 +0200
  • Organization: invers Software & DSd.net

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 (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


  • Follow-Ups:
    • Re: NSTableView inside NSTextView
      • From: Charles Jenkins <email@hidden>
References: 
 >NSTableView inside NSTextView (From: Ulf Dunkel <email@hidden>)
 >Re: NSTableView inside NSTextView (From: Charles Jenkins <email@hidden>)

  • Prev by Date: Re: NSTableView inside NSTextView
  • Next by Date: Re: UICollectionView parallax-like horizontal scrolling
  • Previous by thread: Re: NSTableView inside NSTextView
  • Next by thread: Re: NSTableView inside NSTextView
  • Index(es):
    • Date
    • Thread