Re: scrolling down a page in table view
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