This topic has been archived. It cannot be replied.
-
枫下家园 / 电脑用户 / VB一个问题?如何在form中使 text控件接受 回车和换行
并且同样显示在控件处,
谢谢
-some(some);
2002-8-11
{70}
(#686630@0)
-
我只知道 .Net里怎么做...
-lazycod(飞鹰战士);
2002-8-11
(#686641@0)
-
在Keypress event 里做处理是不是可行?
-lazycod(飞鹰战士);
2002-8-11
(#686646@0)
-
我让他处理if ascii=10 then
text1.text=text1.text & char(10) & char(13)
end if
但是出错
-some(some);
2002-8-11
{88}
(#686658@0)
-
或者有没有别的控件,处理类似的东西
-some(some);
2002-8-11
(#686661@0)
-
稍等!你把textbox的multiline设成true不就行了吗?
-lazycod(飞鹰战士);
2002-8-11
(#686675@0)
-
试试form的onkeypress事件。具体名字我忘记了,你可以查一下。可以接受所有的键盘输入,然后再输入你的text控键就可以了。要是不行,星期一告诉我,把具体要求些清楚,我给你编一个程序。
-merymaid(merymaid);
2002-8-11
(#686680@0)
-
谢谢上面各位,我自己去研究一下,如果再有问题,再来麻烦大家,谢谢
-some(some);
2002-8-11
(#686754@0)
-
怎么还在这里?
-henhen(哼哼~~,找工ing~~~~);
2002-8-11
(#686758@0)
-
饭烧好了,凉一下,顺便培养一下饭欲
-some(some);
2002-8-11
(#686769@0)
-
不用Text Box,用Rich Text Box就可以吧
-hugefox(长得象熊的狐狸);
2002-8-11
(#686761@0)