w_msg_bill.srw 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. $PBExportHeader$w_msg_bill.srw
  2. forward
  3. global type w_msg_bill from w_publ_base
  4. end type
  5. type dw_1 from u_dw_rbtnfilter within w_msg_bill
  6. end type
  7. type ln_bar from line within w_msg_bill
  8. end type
  9. type ln_bar2 from line within w_msg_bill
  10. end type
  11. type r_bar from rectangle within w_msg_bill
  12. end type
  13. end forward
  14. global type w_msg_bill from w_publ_base
  15. integer width = 2258
  16. integer height = 1464
  17. string title = "单据消息确认"
  18. dw_1 dw_1
  19. ln_bar ln_bar
  20. ln_bar2 ln_bar2
  21. r_bar r_bar
  22. end type
  23. global w_msg_bill w_msg_bill
  24. on w_msg_bill.create
  25. int iCurrent
  26. call super::create
  27. this.dw_1=create dw_1
  28. this.ln_bar=create ln_bar
  29. this.ln_bar2=create ln_bar2
  30. this.r_bar=create r_bar
  31. iCurrent=UpperBound(this.Control)
  32. this.Control[iCurrent+1]=this.dw_1
  33. this.Control[iCurrent+2]=this.ln_bar
  34. this.Control[iCurrent+3]=this.ln_bar2
  35. this.Control[iCurrent+4]=this.r_bar
  36. end on
  37. on w_msg_bill.destroy
  38. call super::destroy
  39. destroy(this.dw_1)
  40. destroy(this.ln_bar)
  41. destroy(this.ln_bar2)
  42. destroy(this.r_bar)
  43. end on
  44. event open;call super::open;String ls_billcode
  45. ls_billcode = Message.StringParm
  46. dw_1.SetTransObject(sqlca)
  47. dw_1.Retrieve(ls_billcode)
  48. end event
  49. event resize;call super::resize;ln_bar.endx = this.width
  50. ln_bar2.endx = this.width
  51. r_bar.width = this.width
  52. end event
  53. type cb_func from w_publ_base`cb_func within w_msg_bill
  54. boolean visible = false
  55. integer x = 1577
  56. boolean enabled = false
  57. end type
  58. type cb_exit from w_publ_base`cb_exit within w_msg_bill
  59. integer x = 0
  60. integer width = 151
  61. integer height = 164
  62. integer picsize = 16
  63. toolbaralignment pic_align = alignattop!
  64. boolean border = false
  65. end type
  66. type dw_1 from u_dw_rbtnfilter within w_msg_bill
  67. integer y = 180
  68. integer width = 2199
  69. integer height = 1164
  70. integer taborder = 20
  71. boolean bringtotop = true
  72. string dataobject = "dw_objdpm_user_cmmt_bill"
  73. end type
  74. event rowfocuschanged;call super::rowfocuschanged;IF currentrow <= 0 THEN RETURN
  75. THIS.SelectRow(0,FALSE)
  76. THIS.SelectRow(currentrow,TRUE)
  77. end event
  78. type ln_bar from line within w_msg_bill
  79. long linecolor = 268435456
  80. integer linethickness = 4
  81. integer beginy = 172
  82. integer endx = 2007
  83. integer endy = 172
  84. end type
  85. type ln_bar2 from line within w_msg_bill
  86. long linecolor = 16777215
  87. integer linethickness = 4
  88. integer beginy = 176
  89. integer endx = 2039
  90. integer endy = 176
  91. end type
  92. type r_bar from rectangle within w_msg_bill
  93. long linecolor = 16777215
  94. integer linethickness = 4
  95. long fillcolor = 1073741824
  96. integer x = 667
  97. integer width = 146
  98. integer height = 68
  99. end type
  100. event constructor;this.fillcolor = 14215660
  101. this.linecolor = 14215660
  102. this.x = -1
  103. this.y = -1
  104. this.height = ln_bar.beginy - 5
  105. end event