View Single Post
  #5  
Old 07-27-2011, 03:07 AM
Hezzy002 Hezzy002 is offline
Registered User
Join Date: Jul 2011
Posts: 247
Hezzy002 is a jewel in the roughHezzy002 is a jewel in the rough
PHP Code:
temp.lastFocus GraalControl;
for (
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()?
Reply With Quote