Selecting text box content

I coded a project that deals with that recently ...