会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Temptation
寻道之路 , 与您同行 !
博客园
首页
新随笔
联系
管理
订阅
[原] access97中textbox类似vb的maxlength功能的实现
Private
Sub
txt文字_KeyDown(KeyCode
As
Integer
, Shift
As
Integer
)
If
(KeyCode
=
13
)
Or
(KeyCode
=
9
)
Then
End
If
End Sub
Private
Sub
txt文字_KeyPress(KeyAscii
As
Integer
)
If
(
Len
(txt文字.Text)
>
3
)
And
(KeyAscii
<>
8
)
Then
txt文字.SetFocus
KeyAscii
=
0
End
If
End Sub
posted @
2007-10-03 23:15
temptation
阅读(
297
) 评论(
0
)
收藏
举报
刷新页面
返回顶部
公告