123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- $PBExportHeader$w_query_dt.srw
- forward
- global type w_query_dt from w_publ_base
- end type
- type em_1 from uo_editmask_date within w_query_dt
- end type
- type em_2 from uo_editmask_date within w_query_dt
- end type
- type cb_1 from uo_imflatbutton within w_query_dt
- end type
- type st_1 from statictext within w_query_dt
- end type
- type st_2 from statictext within w_query_dt
- end type
- end forward
- global type w_query_dt from w_publ_base
- integer width = 1271
- integer height = 796
- string title = "日期"
- boolean minbox = false
- windowtype windowtype = response!
- em_1 em_1
- em_2 em_2
- cb_1 cb_1
- st_1 st_1
- st_2 st_2
- end type
- global w_query_dt w_query_dt
- type variables
- s_query_dt s_dt
- end variables
- on w_query_dt.create
- int iCurrent
- call super::create
- this.em_1=create em_1
- this.em_2=create em_2
- this.cb_1=create cb_1
- this.st_1=create st_1
- this.st_2=create st_2
- iCurrent=UpperBound(this.Control)
- this.Control[iCurrent+1]=this.em_1
- this.Control[iCurrent+2]=this.em_2
- this.Control[iCurrent+3]=this.cb_1
- this.Control[iCurrent+4]=this.st_1
- this.Control[iCurrent+5]=this.st_2
- end on
- on w_query_dt.destroy
- call super::destroy
- destroy(this.em_1)
- destroy(this.em_2)
- destroy(this.cb_1)
- destroy(this.st_1)
- destroy(this.st_2)
- end on
- event close;call super::close;CloseWithReturn(THIS,s_dt)
- end event
- event open;call super::open;s_dt.ifquery = FALSE
- end event
- type cb_func from w_publ_base`cb_func within w_query_dt
- boolean visible = false
- integer x = 178
- integer y = 1168
- boolean enabled = false
- end type
- type cb_exit from w_publ_base`cb_exit within w_query_dt
- integer x = 741
- integer y = 476
- end type
- type em_1 from uo_editmask_date within w_query_dt
- integer x = 517
- integer y = 120
- integer taborder = 30
- boolean bringtotop = true
- end type
- event constructor;call super::constructor;THIS.Text = String(Today(),'yyyy-mm-dd')
- end event
- type em_2 from uo_editmask_date within w_query_dt
- integer x = 517
- integer y = 264
- integer taborder = 40
- boolean bringtotop = true
- end type
- event constructor;call super::constructor;THIS.Text = String(Today(),'yyyy-mm-dd')
- end event
- type cb_1 from uo_imflatbutton within w_query_dt
- integer x = 229
- integer y = 476
- integer width = 311
- integer taborder = 50
- boolean bringtotop = true
- string normalpicname = "ok.bmp"
- end type
- event clicked;call super::clicked;s_dt.ifquery = TRUE
- s_dt.fdt = DateTime(Date(em_1.Text),Time(0))
- s_dt.edt = DateTime(Date(em_2.Text),Time('23:59:59'))
- Close(PARENT)
- end event
- type st_1 from statictext within w_query_dt
- integer x = 197
- integer y = 140
- integer width = 311
- integer height = 48
- 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 = "开始日期"
- alignment alignment = center!
- boolean focusrectangle = false
- end type
- type st_2 from statictext within w_query_dt
- integer x = 197
- integer y = 284
- integer width = 311
- integer height = 48
- 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 = "结束日期"
- alignment alignment = center!
- boolean focusrectangle = false
- end type
|