没办法,你要把Enter事件的代码去掉才行
'显示文本框滚动条"Vertical"Dim s As object = e.form.controls("TextBox2").basecontrols.ScrollBars = Windows.Forms.ScrollBars.Vertical