full keyboard control simulation?
full keyboard control simulation?
- Subject: full keyboard control simulation?
- From: Ondra Cada <email@hidden>
- Date: Sat, 16 Nov 2002 20:35:37 +0100
In an application of mine, I would need, so to speak, to run the full
keyboard control programmatically: more precisely, I've got a view whose
subviews (those of them capable of being a first responder, of course) I'd
need to select programmatically, so that the selection is displayed via
the standard blue frame. Generally, those subviews would be standard
AppKit ones (matrices, text fields, etc.).
Perhaps I've missed something obvious, but
(a) I've find no way to switch "full keyboard control" on programmatically;
(b) even if I do that manutally (Ctrl-F1), still the NSWindow methods
-selectPrevious/NextKeyView: do not select appropriate views.
Does it mean I have to implement the key loop myself, including drawing
those blue frames? That I could, but it seems to me as an indecent heap of
work on something which is already done in the AppKit...
I'd be grateful for some 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.