• 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: scrolling down a page in table view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scrolling down a page in table view


  • Subject: Re: scrolling down a page in table view
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 12 Apr 2005 16:04:30 -0400
  • Organization: Rogue Research

On 2005-04-10 15:05, Benjámin Salánki said:

>i have a table view subclass where i want to implement pageDown: to
>scroll the table view down exactly one page height, and select the
>first item on the top of the list. the same for pageUp.

This would be contrary to the HIG:
<http://developer.apple.com/documentation/UserExperience/Conceptual/
OSXHIGuidelines/XHIGUserInput/chapter_2_section_3.html>

And would certainly annoy many users.

>i can't figure
>out how to do this. pageUp: and pageDown: get called fine, i just can't
>find out how to tell the table to scroll exactly one page worth of
>rows.

NSTableView already handles page up and page down keys correctly. Are you
overriding keyDown: in your subclass?

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
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

References: 
 >scrolling down a page in table view (From: Benjámin Salánki <email@hidden>)

  • Prev by Date: Re: Drawing on integral values? WAS proper boarder.
  • Next by Date: Re: When are bound variables initialized?
  • Previous by thread: scrolling down a page in table view
  • Next by thread: Re: Creating Menu Bar Extras
  • Index(es):
    • Date
    • Thread