• 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
simulating a click in nsscroller's pagedown/up
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

simulating a click in nsscroller's pagedown/up


  • Subject: simulating a click in nsscroller's pagedown/up
  • From: nicolas berloquin <email@hidden>
  • Date: Tue, 7 May 2002 15:09:53 +0200

I'm sorry if this has been answered a million times, but I cannot find any ref to that in the archives or other sites (or the docs).
I'm trying to simulate a click in either pageup or pagedown in an NSScroller that's automatically created with an NSScrollView.
I've tried sending the scroller scrollPageUp: but no method handles this.
I saw in the docs that I could find what parts were accessible, but I can't find how to get an array of the actual parts as objects
so that I could send the right one a performClick:

I know that I could use a scrollRect: in my content view, but I tought it would be easier (no calculation on my part) to just
send a pgUp/pgDown clic...

any hint ?

thanks !!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: PB 2 Comments & Feature Request
  • Next by Date: Thread and Return key strangeness
  • Previous by thread: Re: PB 2 Comments & Feature Request
  • Next by thread: Thread and Return key strangeness
  • Index(es):
    • Date
    • Thread