Re: scrolling NSTextView over NSImageView
Re: scrolling NSTextView over NSImageView
- Subject: Re: scrolling NSTextView over NSImageView
- From: Andreas Mayer <email@hidden>
- Date: Wed, 12 Jul 2006 03:29:41 +0200
Am 12.07.2006 um 01:31 Uhr schrieb Nathan Herring:
I have an NSTextView where I've programmatically
setDrawsBackground:FALSE on both itself and its NSClipView superview.
Instead of sending setDrawsBackground:NO (not FALSE) to the clip
view, send it to the scroll view.
From the documentation:
"If your NSScrollView encloses an NSClipView sending a
setDrawsBackground: message with a parameter of NO to the
NSScrollView has the added effect of sending the NSClipView a
setCopiesOnScroll: message with a parameter of NO. The side effect of
sending the setDrawsBackground: message directly to the NSClipView
instead would be the appearance of “trails” (vestiges of previous
drawing) in the document view as it is scrolled."
Andreas _______________________________________________
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