$PBExportHeader$w_rp_msttake_old.srw forward global type w_rp_msttake_old from w_publ_easyq end type type rb_1 from radiobutton within w_rp_msttake_old end type type rb_2 from radiobutton within w_rp_msttake_old end type type rb_3 from radiobutton within w_rp_msttake_old end type type rb_4 from radiobutton within w_rp_msttake_old end type end forward global type w_rp_msttake_old from w_publ_easyq string title = "应收帐龄表" rb_1 rb_1 rb_2 rb_2 rb_3 rb_3 rb_4 rb_4 end type global w_rp_msttake_old w_rp_msttake_old type variables long arg_date_s=0,arg_date_e=30 end variables on w_rp_msttake_old.create int iCurrent call super::create this.rb_1=create rb_1 this.rb_2=create rb_2 this.rb_3=create rb_3 this.rb_4=create rb_4 iCurrent=UpperBound(this.Control) this.Control[iCurrent+1]=this.rb_1 this.Control[iCurrent+2]=this.rb_2 this.Control[iCurrent+3]=this.rb_3 this.Control[iCurrent+4]=this.rb_4 end on on w_rp_msttake_old.destroy call super::destroy destroy(this.rb_1) destroy(this.rb_2) destroy(this.rb_3) destroy(this.rb_4) end on event open;call super::open;IF cbx_loginretr.Checked THEN cb_1.TriggerEvent(Clicked!) END IF end event event ue_before_open;call super::ue_before_open;if_ue_retr=true if_ue_filter=true if_ue_sort=true if_ue_sentdataout=true end event type cb_func from w_publ_easyq`cb_func within w_rp_msttake_old end type type cb_exit from w_publ_easyq`cb_exit within w_rp_msttake_old end type type cb_2 from w_publ_easyq`cb_2 within w_rp_msttake_old end type type cb_psetup from w_publ_easyq`cb_psetup within w_rp_msttake_old end type type cb_1 from w_publ_easyq`cb_1 within w_rp_msttake_old end type event cb_1::clicked;call super::clicked;if rb_1.checked then arg_date_s=0 arg_date_e=30 elseif rb_2.checked then arg_date_s=31 arg_date_e=60 elseif rb_3.checked then arg_date_s=61 arg_date_e=90 elseif rb_4.checked then arg_date_s=91 arg_date_e=99999 end if dw_1.retrieve(arg_date_s,arg_date_e ) end event type st_3 from w_publ_easyq`st_3 within w_rp_msttake_old integer y = 340 end type type st_4 from w_publ_easyq`st_4 within w_rp_msttake_old integer y = 340 end type type em_1 from w_publ_easyq`em_1 within w_rp_msttake_old integer y = 324 end type type em_2 from w_publ_easyq`em_2 within w_rp_msttake_old integer y = 324 end type type ddlb_yl from w_publ_easyq`ddlb_yl within w_rp_msttake_old integer y = 12 end type type cbx_yl from w_publ_easyq`cbx_yl within w_rp_msttake_old integer y = 16 end type type dw_1 from w_publ_easyq`dw_1 within w_rp_msttake_old integer y = 300 integer height = 1016 string dataobject = "dw_rp_msttake_old" end type type sle_mtrl from w_publ_easyq`sle_mtrl within w_rp_msttake_old integer x = 1632 integer y = 472 end type type sle_cust from w_publ_easyq`sle_cust within w_rp_msttake_old integer x = 471 integer y = 472 end type type st_mtrl from w_publ_easyq`st_mtrl within w_rp_msttake_old integer x = 1175 integer y = 488 end type type st_cust from w_publ_easyq`st_cust within w_rp_msttake_old integer x = 9 integer y = 488 end type type cbx_loginretr from w_publ_easyq`cbx_loginretr within w_rp_msttake_old boolean visible = true end type type pb_em1 from w_publ_easyq`pb_em1 within w_rp_msttake_old boolean visible = false integer x = 1257 integer y = 548 end type type pb_em2 from w_publ_easyq`pb_em2 within w_rp_msttake_old boolean visible = false integer x = 1385 integer y = 548 end type type pb_2 from w_publ_easyq`pb_2 within w_rp_msttake_old boolean visible = false integer x = 1495 integer y = 548 end type type cb_help from w_publ_easyq`cb_help within w_rp_msttake_old end type type cb_copyself from w_publ_easyq`cb_copyself within w_rp_msttake_old end type type gb_1 from w_publ_easyq`gb_1 within w_rp_msttake_old integer x = 41 integer y = 560 integer height = 96 end type type ln_bar from w_publ_easyq`ln_bar within w_rp_msttake_old end type type ln_bar2 from w_publ_easyq`ln_bar2 within w_rp_msttake_old end type type r_bar from w_publ_easyq`r_bar within w_rp_msttake_old end type type ln_1 from w_publ_easyq`ln_1 within w_rp_msttake_old end type type ln_2 from w_publ_easyq`ln_2 within w_rp_msttake_old end type type ln_3 from w_publ_easyq`ln_3 within w_rp_msttake_old boolean visible = false end type type ln_4 from w_publ_easyq`ln_4 within w_rp_msttake_old boolean visible = false end type type rb_1 from radiobutton within w_rp_msttake_old integer x = 27 integer y = 208 integer width = 320 integer height = 60 boolean bringtotop = true integer textsize = -9 integer weight = 400 fontcharset fontcharset = gb2312charset! fontpitch fontpitch = variable! string facename = "宋体" long textcolor = 33554432 long backcolor = 134217739 string text = "一月内" boolean checked = true end type event clicked;cb_1.triggerevent(clicked!) end event type rb_2 from radiobutton within w_rp_msttake_old integer x = 389 integer y = 208 integer width = 320 integer height = 60 boolean bringtotop = true integer textsize = -9 integer weight = 400 fontcharset fontcharset = gb2312charset! fontpitch fontpitch = variable! string facename = "宋体" long textcolor = 33554432 long backcolor = 134217739 string text = "两月内" end type event clicked;cb_1.triggerevent(clicked!) end event type rb_3 from radiobutton within w_rp_msttake_old integer x = 750 integer y = 208 integer width = 320 integer height = 60 boolean bringtotop = true integer textsize = -9 integer weight = 400 fontcharset fontcharset = gb2312charset! fontpitch fontpitch = variable! string facename = "宋体" long textcolor = 33554432 long backcolor = 134217739 string text = "三月内" end type event clicked;cb_1.triggerevent(clicked!) end event type rb_4 from radiobutton within w_rp_msttake_old integer x = 1111 integer y = 208 integer width = 320 integer height = 60 boolean bringtotop = true integer textsize = -9 integer weight = 400 fontcharset fontcharset = gb2312charset! fontpitch fontpitch = variable! string facename = "宋体" long textcolor = 33554432 long backcolor = 134217739 string text = "三月以上" end type event clicked;cb_1.triggerevent(clicked!) end event