Canvas Focus
BlitzMax Forums/MaxGUI Module/Canvas Focus| 
 | ||
| Hi All, Is there a way to detect if a canvas has Focus or not? I tried debuglogging the Events but didn't see anything. Basicly I am writing a custom gadget control that 'Greys out' when it loses focus. | 
| 
 | ||
| How about checking: EVENT_MOUSEENTER - Mouse entered gadget area EVENT_MOUSELEAVE - Mouse left gadget area So when the user leaves the gadget you fade the image to grey. If he re-enters it, turn on the colors? | 
| 
 | ||
| ActiveGadget() ? | 
| 
 | ||
|  ActiveGadget  That's so crazy it might just work =) I'll just have to do a combination of ActiveGadget() and hooking events so that it can be fired to check. Thanks! |