PDA

View Full Version : Check if a component has focus


pulse00
02-15-2009, 06:54 PM
Hi,

anyone knows how to check if a component currently has focus ?


thanks !

wvxvw
02-15-2009, 07:08 PM
myUIComponent.focusPane != null;?
OR:
focusManager.focus == myUIComponent

pulse00
02-16-2009, 12:58 PM
thanks !