DW _ 1。Selectrow (0,false)//未選擇任何行。
字符串設置
setting = dw_1 . object . data window . readonly//獲取dw _ 1的只讀屬性。
Dw _ 1 . object . data window . readonly = " No "//將DW_1的只讀屬性設置為“No”意味著可以操作DW _ 1。
setting = dw_1 . describe(" data window . readonly ")//獲取dw _ 1的只讀屬性。這兩句和上面兩句有異曲同工之妙!無足輕重/毫無意義
DW_1。修改("數據窗口。readonly = no ")//將DW_1的只讀屬性設置為' no ',表示可以操作DW _ 1。
int li_row
Li_row = dw _ 1。插入row (0)//dw _ 1,用li _ row記錄行號。
如果li _ row & gt那麽0
Dw _ 1。Scroll to row(Li _ row)//將當前行滾動到新插入的行。
Dw_1.setrow(li_row) //將新插入的行設置為當前行。
Dw _ 1。setfocus ()//dw _ 1來獲取焦點。
//dw _ 1 . set column(' IP 1 ')
如果…就會結束
求領養!