Quick input of text box

I want all text to be selected when I click on a text box.

This system is implemented in many software.