• 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
Following focus and scrolling controls into view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Following focus and scrolling controls into view


  • Subject: Following focus and scrolling controls into view
  • From: Mason Mark <email@hidden>
  • Date: Sat, 15 Sep 2001 21:44:48 -0700

Hi.

An app I am working on has a window containing a scrollable view containing many controls (buttons, text fields, text views...functionally similar to a typical web form that extends down beyond the window's edge).

As the user tabs between text fields and controls, they may tab to an offscreen control. In this case, I would like to scroll the enclosing view down programatically, so that the focused control is visible in the document window.

I think there must be a mechanism by which my app can "notice" when a new control or view gets the focus, since this is standard behavior for so many apps. Can anybody point me in the right direction?

Thanks,

--
mason


  • Prev by Date: Re: Mac OS X UI (cocoa-dev digest, Vol 1 #581 - 19 msgs)
  • Next by Date: Getting small time increments
  • Previous by thread: Problems with NSUnarchiver (Java)
  • Next by thread: Re: Following focus and scrolling controls into view
  • Index(es):
    • Date
    • Thread