摘要: 1.登录窗口中的Key事件中编写捕获按键代码:if KeyDown(KeyEnter!) thenif GetFocus()=Sle_name then Sle_password.Setfocus()End ifIf GetFocus()=Sle_password then cb_ok.triggerevent(clicked!)end ifend ifSle_name.Setfocus()2.判断是否为最后一行、最后一列,则增加新行并光标下移;否则光标直接后移if this.GetColumn()=Long(this.object.datawindow.column.count) an... 阅读全文
posted @ 2013-12-07 13:03 吕坤 阅读(368) 评论(0) 推荐(0) 编辑