Computer Science Canada issue with mouse unfocusing window |
Author: | frank26080115 [ Mon Oct 16, 2006 5:09 pm ] | ||
Post subject: | issue with mouse unfocusing window | ||
ok this should write "test" into the bottom window when you click inside the top window, and it works most of the time, but if you click out side the window and then click inside the window, nothing happens, and i don't know what's wrong with it because im telling it "window:select" "window:setactive" and "window:show" every step of the way
|
Author: | jamonathin [ Mon Oct 16, 2006 6:43 pm ] | ||
Post subject: | |||
You are going to kick yourself, but to solve your problem all you have to do is put:
into your third - inside loop. |
Author: | Windsurfer [ Mon Oct 16, 2006 6:51 pm ] |
Post subject: | |
Ha, ouch, embarrasing, but it happens to the best of us. Like in C, for me, I always get caught mixing up the = and == operators. ![]() |
Author: | frank26080115 [ Mon Oct 16, 2006 7:52 pm ] |
Post subject: | |
thx, this solves the problems for a lot of my programs something i should watch out for, but im thinking that it might be faster to use hotkeys instead of buttons because i dont need to move my hand around. |