我前一段时间也才遇到这个问题,现在把答案照搬给你:
在pbm_dwnprocessenter ID下的事件下键入:
if this.AcceptText() < 0 then
Return 1
end if
if this.GetRow() = this.RowCount() then
this.Insertrow(0)
this.ScrollToRow(this.GetRow() + 1)
this.SetColumn(1)
Return 1
else
this.ScrollToRow(this.GetRow() + 1)
this.SetColumn(1)
Return 1
end if