I have a Cocoa window which contains some custom (non-cocoa)
edit fields, plus a webView displaying a web page with multiple
input fields in it. In response to a tab key I am manually moving
key focus between my pseudo-input fields and the webView.
My problem is that I'm not sure how to make it so the tab key moves
through the fields on the web page.
Setting the webView itself to be the firstResponder, and setting its
nextKeyView to be the window's contentView (because that's where
I'm catching messages for my pseudo-input fields) does not work.
Finding the KWQTextField's in the web page, chaining them together
using setNextKeyView: and setting the first one to be firstResponder
sometimes works, but is not reliable.
I see that in a simple Cocoa window with a single Cocoa NSTextView
plus a webView, tabbing works fine: the user is able to tab from the
NSTextView to the fields in the web page, then back to the NSTextView,
all without me hooking anything up. So clearly there is some mechanism
in place that manages the key view loop. I just can't figure out how to
use it properly in conjunction with my custom fields.
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list (Webkitsdk-dev@list...)
Help/Unsubscribe/Update your Subscription: