w_rp_mtrlware_alter_ts.srw 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. $PBExportHeader$w_rp_mtrlware_alter_ts.srw
  2. forward
  3. global type w_rp_mtrlware_alter_ts from w_publ_easyq
  4. end type
  5. type dw_2 from u_dw_rbtnfilter within w_rp_mtrlware_alter_ts
  6. end type
  7. type cb_3 from uo_imflatbutton within w_rp_mtrlware_alter_ts
  8. end type
  9. end forward
  10. global type w_rp_mtrlware_alter_ts from w_publ_easyq
  11. integer height = 2384
  12. string title = "库存报警提示"
  13. windowstate windowstate = normal!
  14. dw_2 dw_2
  15. cb_3 cb_3
  16. end type
  17. global w_rp_mtrlware_alter_ts w_rp_mtrlware_alter_ts
  18. on w_rp_mtrlware_alter_ts.create
  19. int iCurrent
  20. call super::create
  21. this.dw_2=create dw_2
  22. this.cb_3=create cb_3
  23. iCurrent=UpperBound(this.Control)
  24. this.Control[iCurrent+1]=this.dw_2
  25. this.Control[iCurrent+2]=this.cb_3
  26. end on
  27. on w_rp_mtrlware_alter_ts.destroy
  28. call super::destroy
  29. destroy(this.dw_2)
  30. destroy(this.cb_3)
  31. end on
  32. event resize;ln_bar.endx = this.width
  33. ln_bar2.endx = this.width
  34. ln_1.endx = this.width
  35. ln_2.endx = this.width
  36. r_bar.width = this.width
  37. long w_width,w_height
  38. w_width = 3600
  39. w_height = 2300
  40. if newwidth < w_width then this.width = w_width
  41. if newheight < w_height then this.height = w_height
  42. long ll_height
  43. dw_1.width=this.width - dw_1.x - 40
  44. dw_2.width=this.width - dw_2.x - 40
  45. ll_height = this.height - dw_1.y - 150
  46. dw_1.height = ll_height / 2
  47. dw_2.height = dw_1.height
  48. dw_2.y = dw_1.y + dw_1.height
  49. end event
  50. event ue_before_open;call super::ue_before_open;dw_2.settransobject(sqlca)
  51. end event
  52. type cb_func from w_publ_easyq`cb_func within w_rp_mtrlware_alter_ts
  53. boolean visible = false
  54. end type
  55. type cb_exit from w_publ_easyq`cb_exit within w_rp_mtrlware_alter_ts
  56. integer x = 681
  57. end type
  58. type cb_2 from w_publ_easyq`cb_2 within w_rp_mtrlware_alter_ts
  59. boolean visible = false
  60. end type
  61. type cb_psetup from w_publ_easyq`cb_psetup within w_rp_mtrlware_alter_ts
  62. boolean visible = false
  63. end type
  64. type cb_1 from w_publ_easyq`cb_1 within w_rp_mtrlware_alter_ts
  65. end type
  66. event cb_1::clicked;call super::clicked;dw_1.retrieve()
  67. dw_2.retrieve()
  68. end event
  69. type st_3 from w_publ_easyq`st_3 within w_rp_mtrlware_alter_ts
  70. boolean visible = false
  71. end type
  72. type st_4 from w_publ_easyq`st_4 within w_rp_mtrlware_alter_ts
  73. boolean visible = false
  74. end type
  75. type em_1 from w_publ_easyq`em_1 within w_rp_mtrlware_alter_ts
  76. boolean visible = false
  77. end type
  78. type em_2 from w_publ_easyq`em_2 within w_rp_mtrlware_alter_ts
  79. boolean visible = false
  80. end type
  81. type ddlb_yl from w_publ_easyq`ddlb_yl within w_rp_mtrlware_alter_ts
  82. boolean visible = false
  83. end type
  84. type cbx_yl from w_publ_easyq`cbx_yl within w_rp_mtrlware_alter_ts
  85. boolean visible = false
  86. end type
  87. type dw_1 from w_publ_easyq`dw_1 within w_rp_mtrlware_alter_ts
  88. integer y = 180
  89. integer height = 880
  90. boolean titlebar = true
  91. string title = "超报警上限数量物料表"
  92. string dataobject = "dw_mtrlware_alert_ts_up"
  93. boolean controlmenu = true
  94. boolean minbox = true
  95. boolean maxbox = true
  96. boolean resizable = true
  97. end type
  98. type sle_mtrl from w_publ_easyq`sle_mtrl within w_rp_mtrlware_alter_ts
  99. end type
  100. type sle_cust from w_publ_easyq`sle_cust within w_rp_mtrlware_alter_ts
  101. end type
  102. type st_mtrl from w_publ_easyq`st_mtrl within w_rp_mtrlware_alter_ts
  103. end type
  104. type st_cust from w_publ_easyq`st_cust within w_rp_mtrlware_alter_ts
  105. end type
  106. type cbx_loginretr from w_publ_easyq`cbx_loginretr within w_rp_mtrlware_alter_ts
  107. end type
  108. type pb_em1 from w_publ_easyq`pb_em1 within w_rp_mtrlware_alter_ts
  109. boolean visible = false
  110. end type
  111. type pb_em2 from w_publ_easyq`pb_em2 within w_rp_mtrlware_alter_ts
  112. boolean visible = false
  113. end type
  114. type pb_2 from w_publ_easyq`pb_2 within w_rp_mtrlware_alter_ts
  115. boolean visible = false
  116. end type
  117. type cb_help from w_publ_easyq`cb_help within w_rp_mtrlware_alter_ts
  118. boolean visible = false
  119. end type
  120. type cb_copyself from w_publ_easyq`cb_copyself within w_rp_mtrlware_alter_ts
  121. integer x = 425
  122. end type
  123. type gb_1 from w_publ_easyq`gb_1 within w_rp_mtrlware_alter_ts
  124. end type
  125. type ln_bar from w_publ_easyq`ln_bar within w_rp_mtrlware_alter_ts
  126. end type
  127. type ln_bar2 from w_publ_easyq`ln_bar2 within w_rp_mtrlware_alter_ts
  128. end type
  129. type r_bar from w_publ_easyq`r_bar within w_rp_mtrlware_alter_ts
  130. end type
  131. type ln_1 from w_publ_easyq`ln_1 within w_rp_mtrlware_alter_ts
  132. boolean visible = false
  133. end type
  134. type ln_2 from w_publ_easyq`ln_2 within w_rp_mtrlware_alter_ts
  135. boolean visible = false
  136. end type
  137. type ln_3 from w_publ_easyq`ln_3 within w_rp_mtrlware_alter_ts
  138. end type
  139. type ln_4 from w_publ_easyq`ln_4 within w_rp_mtrlware_alter_ts
  140. end type
  141. type dw_2 from u_dw_rbtnfilter within w_rp_mtrlware_alter_ts
  142. integer y = 1060
  143. integer width = 3538
  144. integer height = 796
  145. integer taborder = 20
  146. boolean bringtotop = true
  147. boolean titlebar = true
  148. string title = "超报警下限数量物料表"
  149. string dataobject = "dw_mtrlware_alert_ts_down"
  150. boolean controlmenu = true
  151. boolean minbox = true
  152. boolean maxbox = true
  153. boolean hscrollbar = true
  154. boolean vscrollbar = true
  155. boolean resizable = true
  156. boolean hsplitscroll = true
  157. end type
  158. type cb_3 from uo_imflatbutton within w_rp_mtrlware_alter_ts
  159. integer x = 151
  160. integer width = 274
  161. integer height = 164
  162. integer taborder = 30
  163. boolean bringtotop = true
  164. string text = "查看报表"
  165. string normalpicname = "PREVIEW.BMP"
  166. integer picsize = 16
  167. toolbaralignment pic_align = alignattop!
  168. boolean border = false
  169. end type
  170. event clicked;call super::clicked;f_sys_main(321)
  171. end event