• 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: Adding multiple NSTextViews inside one NSScrollView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Adding multiple NSTextViews inside one NSScrollView


  • Subject: RE: Adding multiple NSTextViews inside one NSScrollView
  • From: "Ashish Tiwari" <email@hidden>
  • Date: Mon, 16 Mar 2009 18:47:15 +0530

> 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@hidden]
Sent: Monday, March 16, 2009 6:34 PM
To: Ashish Tiwari
Cc: email@hidden
Subject: Re: Adding multiple NSTextViews inside one NSScrollView

On Mon, Mar 16, 2009 at 5:14 AM, Ashish Tiwari
<email@hidden> 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@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: Adding multiple NSTextViews inside one NSScrollView
      • From: Kyle Sluder <email@hidden>
    • Re: Adding multiple NSTextViews inside one NSScrollView
      • From: rajesh <email@hidden>
References: 
 >Adding multiple NSTextViews inside one NSScrollView (From: "Ashish Tiwari" <email@hidden>)
 >Re: Adding multiple NSTextViews inside one NSScrollView (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Adding multiple NSTextViews inside one NSScrollView
  • Next by Date: Re: Adding multiple NSTextViews inside one NSScrollView
  • Previous by thread: Re: Adding multiple NSTextViews inside one NSScrollView
  • Next by thread: Re: Adding multiple NSTextViews inside one NSScrollView
  • Index(es):
    • Date
    • Thread