标题:请求高手要这个代码
只看楼主
ytsm0526
Rank: 2
来 自:西安市
等 级:论坛游民
威 望:2
帖 子:203
专家分:60
注 册:2007-10-28
得分:0 
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

作舍道边,三年不成。
多抽出一分钟时间学习,让你的生命更加精彩!,
2012-04-30 14:17



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-365043-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.190684 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved