16079.html

来自「以电子书的形式收集了VB一些常见问题解决方法,可以很方便的查找自己需要解决的问题」· HTML 代码 · 共 30 行

HTML
30
字号
<html>
  <head>
    <title>Interesting question: how to hide text in textbox?</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>Interesting question: how to hide text in textbox?</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by wei on July 24, 1999 at 04:26:48:<p>
When a user types password in textbox, how to display "*****" instead of the real text? The visible text change should react to the user's action concurrently, e.g, when use removes a char, the visible text should do removing at the same time. Any simple solution? <br>A simple way to hide the text is to make backgroud color = foregrand color in the textbox, but it looks like user is typing a string of space char. 
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 16079-->
<!--top: 16083--><li><a href="16083.html">Re: Interesting question: how to hide text in textbox?</a> <b>纪文和</b> <i>05:49:19 7/24/99</i>
(<!--responses: 16083-->1)
<ul><!--insert: 16083-->
<!--top: 16093--><li><a href="16093.html">Thanks!  Never notice this propety. (No text)</a> <b>wei</b> <i>12:31:14 7/24/99</i>
(<!--responses: 16093-->0)
<ul><!--insert: 16093-->
</ul><!--end: 16093-->
</ul><!--end: 16083-->
</ul><!--end: 16079-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?