FROM : Ondra Cada
DATE : Sat Nov 16 20:35:37 2002
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_removed> http://www.ocs.cz
private <email_removed> http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Sat Nov 16 20:35:37 2002
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_removed> http://www.ocs.cz
private <email_removed> http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| No related mails found. | ||






Cocoa mail archive

