荔园在线

荔园之美,在春之萌芽,在夏之绽放,在秋之收获,在冬之沉淀

[回到开始] [上一篇][下一篇]


发信人: Junhot (倚浩), 信区: Visual
标  题: [合集]请问用inputbox()怎样才能做到使输入的是*号,? ┅
发信站: 荔园晨风BBS站 (Tue Mar 19 12:42:45 2002), 站内信件

Junhot (倚浩) 于Thu Feb 28 17:10:55 2002提到:

You can prompt for the password by using the VBA InputBox function,
but if you want to create a typical input box that is masked to
prevent others from seeing the password entered, you need to use a
UserForm. You can set the PasswordChar property of a TextBox control
on a UserForm to the character you want to use to mask the input; for
example, an asterisk (*).
别偷懒,自己做一个form吧。:)



jek (Super Like Cat) 于Thu Feb 28 18:16:03 2002提到:

设置style



kee (小子) 于Wed Mar 13 00:00:55 2002提到:

将passwordchar 属性改为*就行了,so easy!!!!!!


[回到开始] [上一篇][下一篇]

荔园在线首页 友情链接:深圳大学 深大招生 荔园晨风BBS S-Term软件 网络书店