//用enter代替tab的事件
//在数据窗口中定义个用户事件,pbm_dwnprocessenter
//再抄上下面的代码就行了。这也是从sybase.com.cn上抄的。
if this.AcceptText() < 0 then
//this.SetActionCode(1)
Return 1
end if
if this.GetColumn() = Long(this.Describe("datawindow.column.count")) then
if this.GetRow() = this.RowCount() then
this.Insertrow(0)
this.ScrollToRow(this.GetRow() + 1)
this.SetColumn(1)
//this.SetActionCode(1)
Return 1
end if
end if