123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671 |
- $PBExportHeader$w_buytask_buymx_ch.srw
- forward
- global type w_buytask_buymx_ch from w_pageretr_ch
- end type
- type cbx_mlselect from checkbox within w_buytask_buymx_ch
- end type
- type cb_other from uo_imflatbutton within w_buytask_buymx_ch
- end type
- type dw_choice from datawindow within w_buytask_buymx_ch
- end type
- type cbx_ml from checkbox within w_buytask_buymx_ch
- end type
- type cb_ok from uo_imflatbutton within w_buytask_buymx_ch
- end type
- type cb_del from uo_imflatbutton within w_buytask_buymx_ch
- end type
- type cbx_allselect from checkbox within w_buytask_buymx_ch
- end type
- end forward
- global type w_buytask_buymx_ch from w_pageretr_ch
- integer width = 3611
- integer height = 2380
- string title = "采购订单 - 销售订单明细选择"
- event ue_retrieve_info ( )
- cbx_mlselect cbx_mlselect
- cb_other cb_other
- dw_choice dw_choice
- cbx_ml cbx_ml
- cb_ok cb_ok
- cb_del cb_del
- cbx_allselect cbx_allselect
- end type
- global w_buytask_buymx_ch w_buytask_buymx_ch
- type variables
- s_mtrldef_buytask_array INS_RT_STRU
- boolean if_changeselect=true
- int if_mlselect=0
- long cur_sptid
- long cur_scid
- end variables
- forward prototypes
- public function integer wf_face_change ()
- end prototypes
- event ue_retrieve_info();Long ll_row
- Long ll_mtrlid
- ll_row = dw_pageretr.GetRow()
- IF ll_row <= 0 THEN
- ll_mtrlid = 0
- ELSE
- ll_mtrlid = dw_pageretr.Object.u_saletaskmx_mtrlid[ll_row]
- END IF
- IF IsValid(w_mtrl_info) THEN
- w_mtrl_info.WindowState = Normal!
- w_mtrl_info.ins_mtrlid = ll_mtrlid
- w_mtrl_info.wf_retrieve(ll_mtrlid)
- END IF
- end event
- public function integer wf_face_change ();//wf_face_change()
- IF cbx_ml.Checked THEN
- dw_pageretr.Height = this.height - dw_pageretr.y - 140
-
- dw_choice.Visible = FALSE
- cb_ok.Visible = FALSE
- cb_del.Visible = FALSE
- ELSE
- dw_pageretr.Height = 1040
-
- dw_choice.Visible = TRUE
- cb_ok.Visible = TRUE
- cb_del.Visible = TRUE
- END IF
- dw_pageretr.X = 9
- dw_pageretr.Width = this.Width - dw_pageretr.x - 40
- dw_choice.X = 9
- dw_choice.Width = this.Width - dw_choice.x - 40
- RETURN 1
- end function
- on w_buytask_buymx_ch.create
- int iCurrent
- call super::create
- this.cbx_mlselect=create cbx_mlselect
- this.cb_other=create cb_other
- this.dw_choice=create dw_choice
- this.cbx_ml=create cbx_ml
- this.cb_ok=create cb_ok
- this.cb_del=create cb_del
- this.cbx_allselect=create cbx_allselect
- iCurrent=UpperBound(this.Control)
- this.Control[iCurrent+1]=this.cbx_mlselect
- this.Control[iCurrent+2]=this.cb_other
- this.Control[iCurrent+3]=this.dw_choice
- this.Control[iCurrent+4]=this.cbx_ml
- this.Control[iCurrent+5]=this.cb_ok
- this.Control[iCurrent+6]=this.cb_del
- this.Control[iCurrent+7]=this.cbx_allselect
- end on
- on w_buytask_buymx_ch.destroy
- call super::destroy
- destroy(this.cbx_mlselect)
- destroy(this.cb_other)
- destroy(this.dw_choice)
- destroy(this.cbx_ml)
- destroy(this.cb_ok)
- destroy(this.cb_del)
- destroy(this.cbx_allselect)
- end on
- event ue_usual_query_filt;call super::ue_usual_query_filt;string obj_expr=''
- if trim(sle_usual_query.text)<>'' then
- if pos(trim(sle_usual_query.text),'%')=0 then
- obj_expr=obj_expr+'( u_mtrldef_mtrlcode like "%'+trim(sle_usual_query.text)+'%" )'
- else
- obj_expr=obj_expr+'( u_mtrldef_mtrlcode like "'+trim(sle_usual_query.text)+'" )'
- end if
- end if
- dw_pageretr.setfilter(obj_expr)
- dw_pageretr.setredraw(false)
- dw_pageretr.filter()
- if dw_pageretr.rowcount()>=1 then
- dw_pageretr.selectrow(0,false)
- dw_pageretr.selectrow(1,true)
- end if
- dw_pageretr.setredraw(true)
- end event
- event ue_usual_query_retr;call super::ue_usual_query_retr;string ls_querystrpart=''
- ls_newselect=lower(ori_oldselect)
- if trim(sle_usual_query.text)<>'' then
- if pos(trim(sle_usual_query.text),'%')=0 then
- ls_querystrpart="(u_mtrldef.mtrlcode like '%"+trim(sle_usual_query.text)+"%')"
- else
- ls_querystrpart="(u_mtrldef.mtrlcode like '"+trim(sle_usual_query.text)+"')"
- end if
- if pos(ls_newselect," where ") <> 0 then
- ls_newselect=ls_newselect+" and ("+ls_querystrpart+')'
- else
- ls_newselect=ls_newselect+" where ("+ls_querystrpart+')'
- end if
- end if
- wf_retrieveuc(dw_pageretr,ls_newselect,1)
- this.triggerevent('retrieve_pageretr')
- end event
- event close;CLOSEWITHRETURN(THIS,INS_RT_STRU)
- //<INS_RT_STRU> 窗体级子定义结构变量,用于返回
- end event
- event open;This.TriggerEvent('ue_before_open')
- wf_movetocenter()
- OLD_TITLE = This.Title
- s_tran = Message.PowerObjectParm
- IF Not IsNull(s_tran) THEN
- retrieve_all = s_tran.if_retrieve_all
- mode = s_tran.work_mode
- arg_pkid = s_tran.arg_pkid
- arg_string_code = s_tran.arg_string_code
- if_sharedata = s_tran.if_sharedata //是否应用sharedata,当retrieve_all=true是生效
- ds_share = s_tran.ds_share
- cur_sptid = s_tran.d_long
- cur_scid = s_tran.e_long
- END IF
- dw_pageretr.RBUTTON_FILTER_USE = True //右键查询功能开关
- dw_pageretr.titleclick_sort_use = True //单击标题排序功能开关
- dw_pageretr.SetTransObject (sqlca)
- pkcolumndbtname = wf_get_pkcolumndbtname(dw_pageretr) //取第一列为关键字
- ori_oldselect = dw_pageretr.Describe("DataWindow.Table.Select")
- ls_newselect = ori_oldselect
- ds_curquery = Create DATASTORE
- ds_curquery.DataObject = 'd_extr_find'
- ds_curquery.SetTransObject (sqlca)
- wf_editindex_lockf()
- sle_usual_query.Text = Trim(arg_string_code)
- IF Not retrieve_all THEN
- This.TriggerEvent("ue_usual_query_RETR") //修改ls_newselect,retrieve
- ELSE
- IF if_sharedata THEN
- ds_share.ShareData(dw_pageretr)
- ELSE
- wf_retrieveuc(dw_pageretr,ls_newselect,1)
- This.TriggerEvent('RETRIEVE_pageretr')
- END IF
- END IF
- IF retrieve_all THEN
- This.TriggerEvent("ue_usual_query_filt")
- END IF
- INS_RT_STRU.mtrlid[1] = 0
- s_hide_col s_col_mtrlsectype
- s_col_mtrlsectype.col_1 = 'u_mtrldef_mtrlsectype'
- f_hide_col(1308,dw_pageretr,s_col_mtrlsectype)
- s_hide_col s_col_zxmtrlmode
- s_col_zxmtrlmode.col_1 = 'u_mtrldef_zxmtrlmode'
- f_hide_col(1309,dw_pageretr,s_col_zxmtrlmode)
- dw_choice.SetTransObject(sqlca)
- wf_face_change()
- end event
- event ue_before_open;call super::ue_before_open;if_ue_sort=true
- end event
- event retrieve_pageretr;boolean cb_firstpage_enabled,cb_nextpage_enabled,cb_retrieveall_enabled
- boolean cb_priorpage_enabled,cb_func_enabled,cb_retrieve_enabled
- //cb_firstpage_enabled=cb_firstpage.enabled
- cb_nextpage_enabled=cb_nextpage.enabled
- cb_retrieveall_enabled=cb_retrieveall.enabled
- //cb_priorpage_enabled=cb_priorpage.enabled
- cb_func_enabled=cb_func.enabled
- //cb_firstpage.enabled=false
- cb_nextpage.enabled=false
- cb_retrieveall.enabled=false
- //cb_priorpage.enabled=false
- cb_func.enabled=false
- SetPointer(HourGlass!)
- dw_pageretr.retrieve(cur_scid,cur_sptid)
- if dw_pageretr.rowcount()>0 and dw_pageretr.getrow()=0 then dw_pageretr.setrow(1)
- SetPointer(Arrow!)
- //cb_firstpage.enabled=cb_firstpage_enabled
- cb_nextpage.enabled=cb_nextpage_enabled
- cb_retrieveall.enabled=cb_retrieveall_enabled
- //cb_priorpage.enabled=cb_priorpage_enabled
- cb_func.enabled=cb_func_enabled
- IF cbx_mlselect.Checked AND dw_pageretr.RowCount() > 1 THEN
- dw_pageretr.SelectRow(1,FALSE)
- END IF
- end event
- type cb_func from w_pageretr_ch`cb_func within w_buytask_buymx_ch
- end type
- type cb_exit from w_pageretr_ch`cb_exit within w_buytask_buymx_ch
- integer x = 869
- end type
- type sle_usual_query from w_pageretr_ch`sle_usual_query within w_buytask_buymx_ch
- integer x = 347
- end type
- type cb_retrieveall from w_pageretr_ch`cb_retrieveall within w_buytask_buymx_ch
- integer x = 1339
- end type
- type em_pagerowno from w_pageretr_ch`em_pagerowno within w_buytask_buymx_ch
- integer x = 1029
- end type
- type dw_pageretr from w_pageretr_ch`dw_pageretr within w_buytask_buymx_ch
- integer width = 3593
- integer height = 1036
- string dataobject = "dw_buytask_mx_ch"
- end type
- event dw_pageretr::clicked;if row>0 then
- this.setrow(row)
- if if_mlselect=1 then
- if if_changeselect then
- this.selectrow(row,not this.IsSelected(row))
- else
- if_changeselect=true
- end if
- else
- this.selectrow(0,false)
- this.selectrow(row,true)
- end if
- end if
- end event
- event dw_pageretr::rowfocuschanged;if if_mlselect=1 then
- if currentrow <=0 then return
- if keydown(keycontrol!) then
- if this.isselected(currentrow) then
- this.selectrow(currentrow,false)
- if_changeselect=false
- else
- if_changeselect=true
- end if
- else
- if not this.isselected(currentrow) then
- this.selectrow(currentrow,true)
- if_changeselect=false
- else
- if_changeselect=true
- end if
- end if
- else
- if dw_edit_mode then return
- if currentrow <=0 then return
- this.selectrow(0,false)
- this.selectrow(currentrow,true)
- end if
- parent.TriggerEvent('ue_retrieve_info')
- end event
- event dw_pageretr::dwnkey;call super::dwnkey;if keydown(keyenter!) then return 1
- end event
- event dw_pageretr::doubleclicked;IF cbx_ml.Checked THEN
- cb_choice.TriggerEvent(Clicked!)
- ELSE
- cb_ok.TriggerEvent(Clicked!) //缓冲
- END IF
- end event
- type st_1 from w_pageretr_ch`st_1 within w_buytask_buymx_ch
- integer width = 315
- string text = "物料编码含:"
- end type
- type cb_nextpage from w_pageretr_ch`cb_nextpage within w_buytask_buymx_ch
- integer x = 1486
- end type
- type cb_choice from w_pageretr_ch`cb_choice within w_buytask_buymx_ch
- integer x = 718
- end type
- event cb_choice::clicked;call super::clicked;Long ROW,ls_i = 0,chC = 0
- datawindow dw
- IF cbx_ml.Checked THEN
- dw = dw_pageretr
-
- ROW = dw.GetRow()
- IF ROW <= 0 THEN
- MessageBox('提示','请先选择目标行!', Information!, OK! )
- RETURN
- END IF
- ELSE
- dw = dw_choice
- dw.AcceptText()
- ROW = dw.RowCount()
- IF ROW <= 0 THEN
- MessageBox('提示','请先选择缓冲目标!', Information!, OK! )
- RETURN
- END IF
- END IF
- FOR ls_i = 1 TO dw.RowCount()
- IF Not cbx_ml.Checked Or dw.IsSelected(ls_i) THEN
- chC++
- INS_RT_STRU.mtrlid[chC] = dw.Object.u_saletaskmx_mtrlid[ls_i]
- INS_RT_STRU.mtrlname[chC] = dw.Object.u_mtrldef_mtrlname[ls_i]
- INS_RT_STRU.mtrlcode[chC] = dw.Object.u_mtrldef_mtrlcode[ls_i]
- INS_RT_STRU.mtrlmode[chC] = dw.Object.u_mtrldef_mtrlmode[ls_i]
- INS_RT_STRU.unit[chC] = dw.Object.u_mtrldef_unit[ls_i]
- INS_RT_STRU.mtrltype[chC] = dw.Object.u_mtrldef_mtrltype[ls_i]
-
- INS_RT_STRU.qty[chC] = dw.Object.u_saletaskmx_needbuyqty[ls_i]
- INS_RT_STRU.addqty[chC]= dw.Object.u_saletaskmx_addqty[ls_i]
-
- INS_RT_STRU.relcode[chC] = dw.Object.u_saletask_taskcode[ls_i]
- INS_RT_STRU.relid[chC] = dw.Object.u_saletaskmx_taskid[ls_i]
- INS_RT_STRU.relPrintid[chC] = dw.Object.u_saletaskmx_printid[ls_i]
-
- INS_RT_STRU.lmbuyprice[chC] = dw.Object.u_mtrldef_lmbuyprice[ls_i]
- INS_RT_STRU.rate_buy[chC] = dw.Object.u_mtrldef_rate_buy[ls_i]
- INS_RT_STRU.unit_buy[chC] = dw.Object.u_mtrldef_unit_buy[ls_i]
-
- INS_RT_STRU.planprice[chC] = dw.Object.u_mtrldef_planprice[ls_i]
- INS_RT_STRU.status[chC] = dw.Object.u_saletaskmx_status[ls_i]
- INS_RT_STRU.woodcode[chC] = dw.Object.u_saletaskmx_woodcode[ls_i]
- INS_RT_STRU.pcode[chC] = dw.Object.u_saletaskmx_pcode[ls_i]
- INS_RT_STRU.mtrlsectype[chC] = dw.Object.u_mtrldef_mtrlsectype[ls_i]
- INS_RT_STRU.zxmtrlmode[chC] = dw.Object.u_mtrldef_zxmtrlmode[ls_i]
-
- INS_RT_STRU.rel_rep[chC] = dw.Object.u_saletask_rel_rep[ls_i]
- INS_RT_STRU.cus_address[chC] = dw.Object.u_saletask_cus_address[ls_i]
- INS_RT_STRU.cus_tele[chC] = dw.Object.u_saletask_cus_tele[ls_i]
- INS_RT_STRU.cus_tele1[chC] = dw.Object.u_saletask_cus_tele1[ls_i]
-
-
- INS_RT_STRU.dscrp[chC]= dw.Object.u_saletaskmx_mxdscrp[ls_i]
- INS_RT_STRU.plancode[chC]= dw.Object.u_saletaskmx_plancode[ls_i]
-
- INS_RT_STRU.requiredate[chC]= dw.Object.u_saletaskmx_requiredate[ls_i]
- INS_RT_STRU.dscrp2[chC]= dw.Object.u_saletaskmx_mxdscrp2[ls_i]
-
- INS_RT_STRU.mtrlengname[chC] = dw.Object.u_mtrldef_mtrlengname[ls_i]
- INS_RT_STRU.barcode[chC] = dw.Object.u_mtrldef_barcode[ls_i]
-
- END IF
- NEXT
- IF chC = 0 THEN
- MessageBox('提示','请至少选择一个目标行!', Information!, OK! )
- RETURN
- END IF
- Close(PARENT)
- end event
- type cb_refresh from w_pageretr_ch`cb_refresh within w_buytask_buymx_ch
- end type
- type cb_help from w_pageretr_ch`cb_help within w_buytask_buymx_ch
- end type
- type ln_bar from w_pageretr_ch`ln_bar within w_buytask_buymx_ch
- end type
- type ln_bar2 from w_pageretr_ch`ln_bar2 within w_buytask_buymx_ch
- end type
- type r_bar from w_pageretr_ch`r_bar within w_buytask_buymx_ch
- end type
- type ln_1 from w_pageretr_ch`ln_1 within w_buytask_buymx_ch
- end type
- type ln_2 from w_pageretr_ch`ln_2 within w_buytask_buymx_ch
- end type
- type cbx_mlselect from checkbox within w_buytask_buymx_ch
- integer x = 1285
- integer y = 204
- integer width = 256
- integer height = 60
- boolean bringtotop = true
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long backcolor = 134217739
- string text = "多选"
- end type
- event clicked;if this.checked then
- if_mlselect=1
- else
- if_mlselect=0
- end if
- f_SetProfileString (sys_empid,dw_pageretr.DataObject, "if_mlselect", String(if_mlselect))
- end event
- event constructor;if_mlselect=integer(f_ProfileString (sys_empid,dw_pageretr.DATAOBJECT, "if_mlselect", '0'))
- if if_mlselect =0 then
- this.checked=false
- else
- this.checked=true
- end if
- end event
- type cb_other from uo_imflatbutton within w_buytask_buymx_ch
- integer x = 453
- integer width = 265
- integer height = 164
- integer taborder = 40
- boolean bringtotop = true
- string text = "相关信息"
- string normalpicname = "find2.BMP"
- integer picsize = 16
- toolbaralignment pic_align = alignattop!
- boolean border = false
- end type
- event clicked;call super::clicked;Long ll_row
- ll_row = dw_pageretr.GetRow()
- IF ll_row <= 0 THEN
- MessageBox('系统提示','请选择物料')
- RETURN
- END IF
- Long ll_mtrlid
- ll_mtrlid = dw_pageretr.Object.u_saletaskmx_mtrlid[ll_row]
- IF IsValid(w_mtrl_info) THEN
- w_mtrl_info.WindowState = Normal!
- w_mtrl_info.ins_mtrlid = ll_mtrlid
- w_mtrl_info.wf_retrieve(ll_mtrlid)
- ELSE
- OpenWithParm(w_mtrl_info,ll_mtrlid)
- END IF
- end event
- type dw_choice from datawindow within w_buytask_buymx_ch
- integer x = 9
- integer y = 1460
- integer width = 3575
- integer height = 828
- integer taborder = 140
- boolean bringtotop = true
- string title = "none"
- string dataobject = "dw_buytask_mx_ch"
- boolean minbox = true
- boolean hscrollbar = true
- boolean vscrollbar = true
- boolean hsplitscroll = true
- boolean livescroll = true
- borderstyle borderstyle = stylelowered!
- end type
- event rowfocuschanged;IF currentrow <=0 THEN RETURN
- this.selectrow(0,false)
- this.selectrow(currentrow,true)
- end event
- type cbx_ml from checkbox within w_buytask_buymx_ch
- integer x = 896
- integer y = 204
- integer width = 357
- integer height = 60
- boolean bringtotop = true
- integer textsize = -9
- integer weight = 700
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 16711680
- long backcolor = 134217739
- string text = "直接多选"
- end type
- event clicked;wf_face_change()
- Int use_ml
- IF This.Checked THEN //缓冲
- use_ml = 0
- ELSE
- use_ml = 1
- END IF
- f_SetProfileString (sys_empid,dw_pageretr.DataObject, "use_ml", String(use_ml))
- end event
- event constructor;Int use_ml
- use_ml = Integer(f_ProfileString (sys_empid,dw_pageretr.DataObject, "use_ml", '0'))
- IF use_ml = 0 THEN
- This.Checked = True
- ELSE
- This.Checked = False
- END IF
- end event
- type cb_ok from uo_imflatbutton within w_buytask_buymx_ch
- integer x = 2775
- integer y = 1348
- integer width = 379
- integer taborder = 70
- boolean bringtotop = true
- string text = "选定[Enter]"
- end type
- event clicked;call super::clicked;Long ROW,ls_i,chC = 0
- ROW = dw_pageretr.GetRow()
- IF ROW <= 0 THEN
- MessageBox('提示','请先选择目标行!', Information!, OK! )
- RETURN
- END IF
- FOR ls_i = 1 To dw_pageretr.RowCount()
- IF dw_pageretr.IsSelected(ls_i) THEN
- IF dw_choice.Find('u_SaleTaskMx_TaskID ='+String(dw_pageretr.Object.u_SaleTaskMx_TaskID[ls_i])+' and u_SaleTaskMx_MtrlID = ' + String(dw_pageretr.Object.u_SaleTaskMx_MtrlID[ls_i]),1,dw_choice.RowCount()) = 0 THEN
- chC++
- dw_pageretr.RowsCopy(ls_i, ls_i, Primary!, dw_choice, dw_choice.RowCount() + 1, Primary!)
- END IF
- END IF
- NEXT
- end event
- type cb_del from uo_imflatbutton within w_buytask_buymx_ch
- integer x = 3173
- integer y = 1348
- integer width = 311
- integer taborder = 80
- boolean bringtotop = true
- string text = "删除"
- string normalpicname = "delete.bmp"
- end type
- event clicked;call super::clicked;IF dw_choice.GETROW()=0 THEN
- MESSAGEBOX('提示','请选择删除的行对象!', Information!, OK! )
- RETURN
- END IF
- dw_choice.DeleteRow (0)
- dw_choice.TriggerEvent (rowfocuschanged!)
- end event
- type cbx_allselect from checkbox within w_buytask_buymx_ch
- integer x = 1618
- integer y = 204
- integer width = 256
- integer height = 60
- boolean bringtotop = true
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long backcolor = 134217739
- string text = "全选"
- end type
- event clicked;Int li
- IF THIS.Checked AND cbx_mlselect.Checked THEN
- FOR li = 1 TO dw_pageretr.RowCount()
- dw_pageretr.SelectRow(li,TRUE)
- NEXT
- ELSE
- FOR li = 1 TO dw_pageretr.RowCount()
- dw_pageretr.SelectRow(li,FALSE)
- NEXT
- END IF
- end event
- event constructor;Int li
- IF THIS.Checked AND cbx_mlselect.Checked THEN
- FOR li = 1 TO dw_pageretr.RowCount()
- dw_pageretr.SelectRow(li,TRUE)
- NEXT
- ELSE
- FOR li = 1 TO dw_pageretr.RowCount()
- dw_pageretr.SelectRow(li,FALSE)
- NEXT
- END IF
- end event
|