• 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: Buttons next to NSScroller
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Buttons next to NSScroller


  • Subject: Re: Buttons next to NSScroller
  • From: Felix Franz <email@hidden>
  • Date: Tue, 28 Aug 2007 11:25:09 +0200

On Aug 28, 2007, at 11:09 AM, Alain Schartz wrote:

Morning List,

I'm implementing a scroll view and I wanted to add mini-buttons next to the horizontal NSScroller (similiar to the "Selection", "Line", "Zoom" and "Scroll Canvas" buttons in Xcode's data modeller). Having found nothing in the documentation (besides NSRuler) I was wondering whether I'll have to create these buttons "by hand", and before starting doing this I wanted to ask more knowledgeable guys (read: you) if I did not simply overlook something...

Take a look at the source code of TextEdit (/Developer/Examples/ AppKit/TextEdit).
Overwrite the -tile method in a subclass of NSScrollView to place your additional
controls and move the scrollers accordingly. (ScalingScrollView.m in TextEdit).


Cheers,

felix


_______________________________________________

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: Buttons next to NSScroller
      • From: Alain Schartz <email@hidden>
References: 
 >Buttons next to NSScroller (From: Alain Schartz <email@hidden>)

  • Prev by Date: Buttons next to NSScroller
  • Next by Date: Re: Buttons next to NSScroller
  • Previous by thread: Buttons next to NSScroller
  • Next by thread: Re: Buttons next to NSScroller
  • Index(es):
    • Date
    • Thread