• 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: Home and end keys and NSTableView, not handled automatically?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Home and end keys and NSTableView, not handled automatically? (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: Getting the background colour for NSBox?
  • Next by Date: Keys to be used with IORegistryEntrySearchCFProperty
  • Previous by thread: Home and end keys and NSTableView, not handled automatically?
  • Next by thread: Re: Home and end keys and NSTableView, not handled automatically?
  • Index(es):
    • Date
    • Thread