You can always synchronize the scrollers on textViews, I am sure there is an example (by Apple) not sure if its for Text view or TableView scrollers.

On Mar 16, 2009, at 2:17 PM, Ashish Tiwari wrote:

Don't do that?  Keep them all in their own scroll views.
I need to do that I cant let each NSTextView has its own ScrollView.

The behavior I want is that when user scrolls the shared ScrollView all 3
textviews should scroll simultaneously.

Also I will look into layout manager thing suggested by Kyle.

-----Original Message-----
From: Kyle Sluder [mailto:[email protected]]
Sent: Monday, March 16, 2009 6:34 PM
To: Ashish Tiwari
Cc: [email protected]
Subject: Re: Adding multiple NSTextViews inside one NSScrollView

On Mon, Mar 16, 2009 at 5:14 AM, Ashish Tiwari
<[email protected]> wrote:
I need to have 3 NSTextViews share same NSScrollView. The ScrollView
should
be able to show/scroll all contents of these 3 TextViews.

Don't do that?  Keep them all in their own scroll views.  If you
really want to have three separate text views inside one shared scroll
view, you should instead look at implementing a custom layout manager.

--Kyle Sluder

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/rajesh%40vangennep.nl

This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to