Re: Home and end keys and NSTableView, not handled automatically?
Re: Home and end keys and NSTableView, not handled automatically?
- Subject: Re: Home and end keys and NSTableView, not handled automatically?
- From: Nick Zitzmann <email@hidden>
- Date: Mon, 13 Sep 2004 22:41:06 -0600
On Sep 13, 2004, at 8:46 PM, Sean McBride wrote:
Through no action of my own, my NSTableView (in an NSScrollView) seems
to
automatically handle the following keys: up arrow, down arrow, page up,
page down. Great! But the home and end keys are not handled.
Firstly, since page up and page down are handled automatically surely
home and end could be too. Is this omission a bug?
It's not a bug; it's just an omission. You may consider filing an
enhancement request over this issue...
Regardless, how should I implement this? I did some research and my
best
idea is to subclass NSTableView and override - (void)keyDown:(NSEvent
*)event. Is this the best way?
Correct.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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