PHP Code:
temp.lastFocus = GraalControl;
for (c : GraalControl.controls) {
if (c.isFirstResponder()) {
temp.lastFocus = c;
break;
}
}
//Create GUIControl
temp.lastFocus.makeFirstResponder(true);
I figured that would be a better way. Is that more reliable (i.e. works with chatbar and other GUIControls), or can more than one object return true from isFirstResponder()?