| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 842 人关注过本帖
标题:请求高手要这个代码
只看楼主 加入收藏
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
快速回复:请求高手要这个代码
数据加载中...
 
   



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

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