让鼠标进入 TextBox 时自动选定 TextBox 中之整串文字
Private Sub Text1_GotFocus() Text1.SelStart = 0 Text1.SelLength = Len(Text1) End Sub