请求高手要这个代码

就是当点击时就会隐藏框内的文字,输入了文字状态时点击不会清除框的文字

就是QQ登陆框的文本框这种!
Option Explicit Const AccountString = "Enter account" Private Sub Form_Load() textAccount.ForeColor = &HC0C0C0 textAccount.Text = AccountString End Sub Private Sub textAccount_Click() textAccount.Text = "" textAccount.ForeColor = &H80000012 End Sub Private Sub textAccount_LostFocus() If textAccount.Text = "" Then textAccount.Text = AccountString textAccount.ForeColor = &HC0C0C0 End If End Sub