• 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
Keyboard support for NSScrollView with custom view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Keyboard support for NSScrollView with custom view?


  • Subject: Keyboard support for NSScrollView with custom view?
  • From: Allan Odgaard <email@hidden>
  • Date: Tue, 6 Aug 2002 18:11:36 +0200

Hi there,

I have an NSScrollView with a custon NSView subclass inside.

I can use my mousewheel to scroll the view when the mouse is over the view, but not the keyboard.

If I invoke [window makeFirstResponder:(view|clipview)] then mousewheel works no matter where it's placed, and I can also use page up/down to scroll pages -- but still no arrow up/down for lines (or home/end for top/bottom).

Don't tell me I have to re-implement keyboard support for scrolling, when my NSScrollView contain custom NSView subclass...
_______________________________________________
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: Creating a clickable (web-browser-like) URL control
  • Next by Date: Re: Archive crash
  • Previous by thread: NSArray valueForKey:
  • Next by thread: Print Dialog in Mac OS X
  • Index(es):
    • Date
    • Thread