作者abgne (abgne)
看板Visual_Basic
标题Re: [VB6 ] 将之前输入的字串反蓝
时间Mon Feb 20 17:06:36 2006
※ 引述《molucolin (molucolin)》之铭言:
: 有一个 Text1.text
: 专门用来输入资料
: 想再次输入时
: 前一次输入的字串反蓝
: 以便下一笔资料
: 能够直接输入
: 不必清除之前的文字
: 我记得再.Net有一个方法是
: Text1.SelAll()
: 那麽在 VB6 要怎麽写呢
Text1.SelStart = 0
Text1.SelLength = Len(Text1.Text)
Text1.SetFocus
我试过可以..
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 202.154.192.30