• 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: Convenient way to get the correct superview?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Convenient way to get the correct superview?


  • Subject: Re: Convenient way to get the correct superview?
  • From: Ryan Britton <email@hidden>
  • Date: Sat, 30 Jul 2005 10:29:41 -0700

Try - enclosingScrollView

http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/ObjC_classic/Classes/NSView.html#//apple_ref/doc/uid/ 20000014-BBCBCEFI


On Jul 30, 2005, at 9:49 AM, Theodore H. Smith wrote:


When dealing with stuff like NSTableViews, or other NSViews, when we want to move the controls, we generally don't want to move the NSTableView, but it's [superview]'s [superview]. This is because NSTableView is in an NSClipView, which is inside an NSScrollView.


Is there some conveience method which will return to me something like "The view that I'd like which enables me to move this control around properly? This view may be myself, or any number of ancestors from myself."

For now, I may be using my own convenience method to do just this.

--
http://elfdata.com/plugin/ Industrial strength string processing, made easy.


"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Convenient way to get the correct superview? (From: "Theodore H. Smith" <email@hidden>)

  • Prev by Date: Convenient way to get the correct superview?
  • Next by Date: Setting a button's cell in IB?
  • Previous by thread: Convenient way to get the correct superview?
  • Next by thread: Setting a button's cell in IB?
  • Index(es):
    • Date
    • Thread