TextField.SelectAll

From Xojo Documentation

Method

TextField.SelectAll()

Supported for all project types and targets.

Selects all of the text in the TextField.