Thank you ! Frankly i do not understand all of the code, maybe you could put comments in for Tk newbies? :-), but a quick test here did show it worked. With this i think i can build a readxy() function as i described in the earlier post with 'overwrite-mode' as i intended.