📄 8935.html
字号:
<html>
<head>
<title>TextBox上测出按键位置</title>
</head>
<body bgcolor="#FFFFFF" vlink="#808080">
<center>
<h1>TextBox上测出按键位置</h1>
</center>
<hr size=7 width=75%>
<hr size=7 width=75%><p>
Posted by LA on January 06, 1999 at 23:33:00:<p>
1. 本人想测出用户在TextBox中输入字元时, Cursor在整个字串中的所在位置.<p>例如本人限制金额输入为小数后两个位 500.30 , 若在 3之后 0之前按下8字,<br>在此便不可以插入.<p>2. 若TextBox中字串为 100.50 , 当按下一点(.)时, 想移至5字前.<p>请各位多多指教, 希望给我程式例子.<br>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 8935-->
<!--top: 9008--><li><a href="9008.html">Re: TextBox上测出按键位置</a> <b>VB幼稚园小班</b> <i>09:55:08 1/09/99</i>
(<!--responses: 9008-->0)
<ul><!--insert: 9008-->
</ul><!--end: 9008-->
<!--top: 9004--><li><a href="9004.html">CWW 可否帮忙, 你的API那么了得 (无内文)</a> <b>LA</b> <i>23:29:19 1/08/99</i>
(<!--responses: 9004-->1)
<ul><!--insert: 9004-->
<!--top: 9044--><li><a href="9044.html">这和API无关</a> <b>cww</b> <i>13:18:01 1/11/99</i>
(<!--responses: 9044-->0)
<ul><!--insert: 9044-->
</ul><!--end: 9044-->
</ul><!--end: 9004-->
</ul><!--end: 8935-->
<br><hr size=7 width=75%><p>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -