Garry's Mod Wiki

Panel:SelectAllOnFocus

  Panel:SelectAllOnFocus()

Description

If called on a TextEntry, clicking the text entry for the first time will automatically select all of the text ready to be copied by the user.