以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  用什么办法,输出信息象dos窗口那样,一行一行提示  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=125286)

--  作者:xxfoxtable
--  发布时间:2018/9/25 14:58:00
--  用什么办法,输出信息象dos窗口那样,一行一行提示
用什么办法,输出信息象dos窗口那样,一行一行提示,如果行,长年运行, 用不用删除最初信息?
--  作者:有点甜
--  发布时间:2018/9/25 15:34:00
--  

不明白你什么意思。如果是合并字符,参考

 

Dim s As String = "123456"
msgbox(s)
s = s & vbcrlf & "abcd"
msgbox(s)
s = s & vbcrlf & "aaaaaabbbbcccc"
msgbox(s)


--  作者:浙江仔
--  发布时间:2018/9/25 16:13:00
--  

Dim desc As String

desc = desc +"|"+ format(Date.now,"yyyy-MM-dd HH:mm:ss.ffff")

Dim txtProgress As WinForm.TextBox = Forms("Http服务设置").Controls("txtProgress")

txtProgress.Text = desc & vbcrlf & txtProgress.Text \'添加提示到文本框的第一行

Application.DoEvents()

\'清除

If desc.length>1000 Then

    desc=""

End If

[此贴子已经被作者于2018/9/25 16:16:03编辑过]

--  作者:xndd
--  发布时间:2018/9/25 16:14:00
--  
 类似java的日志输出
我觉得还是要用表格控件,实时刷新