• 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: Lee Ann Rucker <email@hidden>
  • Date: Fri, 17 Oct 2014 02:17:33 +0000
  • Thread-topic: NSTableView inside NSTextView

You can get TextEdit's source code and see how they did it: https://developer.apple.com/library/mac/samplecode/textedit/Introduction/Intro.html
________________________________________
From: cocoa-dev-bounces+lrucker=email@hidden [cocoa-dev-bounces+lrucker=email@hidden] on behalf of Ulf Dunkel [email@hidden]
Sent: Thursday, October 16, 2014 5:13 AM
To: Cocoa Development
Subject: NSTableView inside NSTextView

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
_______________________________________________

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: Ulf Dunkel <email@hidden>
References: 
 >NSTableView inside NSTextView (From: Ulf Dunkel <email@hidden>)

  • Prev by Date: Re: Problem getting import UTI recognised
  • Next by Date: Re: NSTableView inside NSTextView
  • Previous by thread: Re: NSTableView inside NSTextView
  • Next by thread: Re: NSTableView inside NSTextView
  • Index(es):
    • Date
    • Thread