not if its an edit box, but i think you can do it using $mouse