w_rp_mtrlprice_his.srw 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. $PBExportHeader$w_rp_mtrlprice_his.srw
  2. forward
  3. global type w_rp_mtrlprice_his from w_publ_base
  4. end type
  5. type dw_1 from u_dw_rbtnfilter within w_rp_mtrlprice_his
  6. end type
  7. end forward
  8. global type w_rp_mtrlprice_his from w_publ_base
  9. integer width = 2441
  10. integer height = 1600
  11. string title = "历史统计查询"
  12. boolean minbox = false
  13. windowtype windowtype = response!
  14. dw_1 dw_1
  15. end type
  16. global w_rp_mtrlprice_his w_rp_mtrlprice_his
  17. on w_rp_mtrlprice_his.create
  18. int iCurrent
  19. call super::create
  20. this.dw_1=create dw_1
  21. iCurrent=UpperBound(this.Control)
  22. this.Control[iCurrent+1]=this.dw_1
  23. end on
  24. on w_rp_mtrlprice_his.destroy
  25. call super::destroy
  26. destroy(this.dw_1)
  27. end on
  28. event open;call super::open;dw_1.SetTransObject(sqlca)
  29. s_edit_index_tran s_open
  30. s_open = Message.PowerObjectParm
  31. dw_1.Retrieve(s_open.b_long)
  32. end event
  33. type cb_func from w_publ_base`cb_func within w_rp_mtrlprice_his
  34. boolean visible = false
  35. integer x = 101
  36. integer y = 232
  37. end type
  38. type cb_exit from w_publ_base`cb_exit within w_rp_mtrlprice_his
  39. integer x = 1751
  40. integer y = 1064
  41. end type
  42. type dw_1 from u_dw_rbtnfilter within w_rp_mtrlprice_his
  43. integer width = 2423
  44. integer height = 1512
  45. integer taborder = 20
  46. boolean bringtotop = true
  47. string dataobject = "dw_rp_mtrlprice_his"
  48. boolean hscrollbar = true
  49. boolean vscrollbar = true
  50. end type
  51. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  52. THIS.SelectRow(0,FALSE)
  53. THIS.SelectRow(currentrow,TRUE)
  54. END IF
  55. end event