w_workprice_change_his.srw 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. $PBExportHeader$w_workprice_change_his.srw
  2. forward
  3. global type w_workprice_change_his from w_publ_base
  4. end type
  5. type dw_1 from u_dw_rbtnfilter within w_workprice_change_his
  6. end type
  7. end forward
  8. global type w_workprice_change_his from w_publ_base
  9. integer width = 3328
  10. integer height = 2148
  11. string title = "相关工价表变更历史"
  12. boolean minbox = false
  13. windowtype windowtype = response!
  14. dw_1 dw_1
  15. end type
  16. global w_workprice_change_his w_workprice_change_his
  17. on w_workprice_change_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_workprice_change_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_tran //传递参数使用
  30. s_tran = Message.PowerObjectParm
  31. Long ll_mtrlid
  32. String ls_procode
  33. IF NOT IsNull(s_tran) THEN
  34. ll_mtrlid = s_tran.b_long
  35. ls_procode = s_tran.b_string
  36. END IF
  37. dw_1.retrieve(ll_mtrlid,ls_procode)
  38. end event
  39. type cb_func from w_publ_base`cb_func within w_workprice_change_his
  40. boolean visible = false
  41. end type
  42. type cb_exit from w_publ_base`cb_exit within w_workprice_change_his
  43. integer x = 2967
  44. integer y = 1940
  45. end type
  46. type dw_1 from u_dw_rbtnfilter within w_workprice_change_his
  47. integer width = 3305
  48. integer height = 1916
  49. integer taborder = 20
  50. boolean bringtotop = true
  51. string dataobject = "dw_workprice_changemx_view"
  52. boolean hscrollbar = true
  53. boolean vscrollbar = true
  54. boolean hsplitscroll = true
  55. end type
  56. event rowfocuschanged;call super::rowfocuschanged;IF currentrow <=0 THEN RETURN
  57. this.selectrow(0,false)
  58. this.selectrow(currentrow,true)
  59. end event