定义Event:ue_enterkeydown
return long
Event ID pbm_dwnprocessenter
script:
if this.getcolumn()=long(this.object.datawindow.column.count) then
if this.getrow()=this.rowcount() then
this.insertrow(0)
this.scrolltorow(this.getrow()+1)
this.Modify("datawindow.HorizontalScrollPosition = 1")
this.setcolumn(1)
return 1
end if
end if
定义event:pbm_dwnProcessEnter
//判断是否为最后行列
int i,li_row
i=this.getcolumn()
i=integer(this.object.datawindow.column.count)
if this.GetColumn()= long(this.object.datawindow.column.count) - 4 then
if this.getRow() = this.rowCount() then
li_row=this.insertrow(0)
this.ScrollToRow(li_row)
this.object.datawindow.HorizontalScrollPosition='0'
this.setColumn("hpbh")//"xhdh")
return 1
end if
end if
//发送tab键消息