• 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
Focused UI element
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Focused UI element


  • Subject: Focused UI element
  • From: Ondra Cada <email@hidden>
  • Date: Wed, 20 Nov 2002 02:33:18 +0100

Well, searching docs I still can't find how to drive the "keyboard
focus" programmatically... I've found that I can enquire which element
is active using

[NSApp accessibilitySetValue:[[view window] firstResponder]
forAttribute:NSAccessibilityFocusedUIElementAttribute];

but how to *set* the focused element? The
NSAccessibilityFocusedUIElementAttribute is not settable -- I've tried
:(

Thanks for any insight,
---
Ondra Hada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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.

  • Follow-Ups:
    • Solved: Focused UI element, UNSOLVED: widgets don't work properly in a bordrless window?!?
      • From: Ondra Cada <email@hidden>
  • Prev by Date: NSColorWell's target/action inconsistency?
  • Next by Date: Re: No launchable executable present?
  • Previous by thread: NSColorWell's target/action inconsistency?
  • Next by thread: Solved: Focused UI element, UNSOLVED: widgets don't work properly in a bordrless window?!?
  • Index(es):
    • Date
    • Thread