View Single Post
Old 31st August 2006, 01:10   #18
leechbite
Major Dude
 
leechbite's Avatar
 
Join Date: Sep 2003
Location: Canada
Posts: 635
Send a message via Yahoo to leechbite
oh yeah, i forgot ongetfocus is still broken. you can use a timer to check the focus on both containers periodically, maybe 10 times/sec.

checktimer.onTimer() {
if ((mainLayout.isActive() || alphaLayout.isactive()) {
if (!lastfocus) {
mainLayout.setFocus();
alphaLayout.setFocus();
}

lastfocus = true;
} else lastfocus = false;
}

or something like that.
leechbite is offline   Reply With Quote