Quote:
Originally Posted by cbk1994
That would only check the first children of GraalControl, so, for example, a button inside a window would not be checked.
If it's absolutely necessary, I'd do something like this.
PHP Code:
function onFirstResponderChanges(temp.obj) {
if (temp.obj.dontStealFocus) {
this.lastResponder.makeFirstResponder(true);
} else {
this.lastResponder = temp.obj;
}
}
Then you could just set dontStealFocus on any GUI control and it wouldn't steal focus.
|
Sounds perfectly ideal, thanks for the suggestion mate.