THe only way I can think of is to check the mousemove property of all the other objects on the form(and the form itself) and hide your textbox when this happens. (You may need a timer event in there for safety in case someone wisks the mouse right off the app before it detects it.