怎么样在textbox里不去掉原来的内容而增加新的内容 就是假设原来textbox里有一个字符“a”,在执行一道命令之后添加一个“,b”,使textbox里的内容变成“a,b”.望高人帮一把。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Text1.Text = Text1.Text & ",b" Text1.Text = Text1.Text & ",b"是常见办法,但这是字符连接操作,当内容多时会越来越慢,理想的办法是: With Text1 .SelStart = Len(Text1.Text) .SelLength = 0 .SelText = s End With而且这样还会让文本框,自动滚动到最后,以显示新增的内容,聊天程序中常用。 Text1.SelStart = Len(Text1.Text)Text1.SelLength = 0Text1.SelText = ",b" With Text1 .SelStart = Len(Text1.Text) .SelLength = 0 .SelText = s End With Text1.SelStart = Len(Text1)Text1.SelText = ",b"Text1.SelLength = 0 这句可以不要 赚分... 急,组合框问题 各位大哥帮偶!!!!! 用VB进行ACCESS数据库开发的书籍,介绍一下,马上要,二手的也可以呀! 请大家帮忙介绍几个优秀的电子图书 郁闷散分 VB中怎样打印曲线 烦!救我 事务处理 是什么 谁能大概讲一下 文本框垂直居中怎样做? 为什么更新无效 打包后,数据库的位置不就变了吗?那怎么让adodc连接数据库?
.SelStart = Len(Text1.Text)
.SelLength = 0
.SelText = s
End With而且这样还会让文本框,自动滚动到最后,以显示新增的内容,聊天程序中常用。
Text1.SelLength = 0
Text1.SelText = ",b"
.SelStart = Len(Text1.Text)
.SelLength = 0
.SelText = s
End With
Text1.SelStart = Len(Text1)
Text1.SelText = ",b"
Text1.SelLength = 0 这句可以不要