nel gotfocus del text

text1.selstart=0
text1.sellenght=len(text1.text)

l'ho fatto a memoria ma dovrebbe funzionare...