m_publ_preview_func.srm 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. $PBExportHeader$m_publ_preview_func.srm
  2. forward
  3. global type m_publ_preview_func from menu
  4. end type
  5. type m_0 from menu within m_publ_preview_func
  6. end type
  7. type m_数据发送 from menu within m_0
  8. end type
  9. type m_筛选 from menu within m_0
  10. end type
  11. type m_页面设置 from menu within m_0
  12. end type
  13. type m_- from menu within m_0
  14. end type
  15. type m_编辑格式 from menu within m_0
  16. end type
  17. type m_1 from menu within m_0
  18. end type
  19. type m_下一页 from menu within m_0
  20. end type
  21. type m_上一页 from menu within m_0
  22. end type
  23. type m_0 from menu within m_publ_preview_func
  24. m_数据发送 m_数据发送
  25. m_筛选 m_筛选
  26. m_页面设置 m_页面设置
  27. m_- m_-
  28. m_编辑格式 m_编辑格式
  29. m_1 m_1
  30. m_下一页 m_下一页
  31. m_上一页 m_上一页
  32. end type
  33. global type m_publ_preview_func from menu
  34. m_0 m_0
  35. end type
  36. end forward
  37. global type m_publ_preview_func from menu
  38. m_0 m_0
  39. end type
  40. global m_publ_preview_func m_publ_preview_func
  41. on m_publ_preview_func.create
  42. m_publ_preview_func=this
  43. call super::create
  44. this.m_0=create m_0
  45. this.Item[UpperBound(this.Item)+1]=this.m_0
  46. end on
  47. on m_publ_preview_func.destroy
  48. call super::destroy
  49. destroy(this.m_0)
  50. end on
  51. type m_0 from menu within m_publ_preview_func
  52. m_数据发送 m_数据发送
  53. m_筛选 m_筛选
  54. m_页面设置 m_页面设置
  55. m_- m_-
  56. m_编辑格式 m_编辑格式
  57. m_1 m_1
  58. m_下一页 m_下一页
  59. m_上一页 m_上一页
  60. end type
  61. on m_0.create
  62. call super::create
  63. this.text = " "
  64. this.m_数据发送=create m_数据发送
  65. this.m_筛选=create m_筛选
  66. this.m_页面设置=create m_页面设置
  67. this.m_-=create m_-
  68. this.m_编辑格式=create m_编辑格式
  69. this.m_1=create m_1
  70. this.m_下一页=create m_下一页
  71. this.m_上一页=create m_上一页
  72. this.Item[UpperBound(this.Item)+1]=this.m_数据发送
  73. this.Item[UpperBound(this.Item)+1]=this.m_筛选
  74. this.Item[UpperBound(this.Item)+1]=this.m_页面设置
  75. this.Item[UpperBound(this.Item)+1]=this.m_-
  76. this.Item[UpperBound(this.Item)+1]=this.m_编辑格式
  77. this.Item[UpperBound(this.Item)+1]=this.m_1
  78. this.Item[UpperBound(this.Item)+1]=this.m_下一页
  79. this.Item[UpperBound(this.Item)+1]=this.m_上一页
  80. end on
  81. on m_0.destroy
  82. call super::destroy
  83. destroy(this.m_数据发送)
  84. destroy(this.m_筛选)
  85. destroy(this.m_页面设置)
  86. destroy(this.m_-)
  87. destroy(this.m_编辑格式)
  88. destroy(this.m_1)
  89. destroy(this.m_下一页)
  90. destroy(this.m_上一页)
  91. end on
  92. type m_数据发送 from menu within m_0
  93. end type
  94. on m_数据发送.create
  95. call super::create
  96. this.text = "数据发送"
  97. end on
  98. on m_数据发送.destroy
  99. call super::destroy
  100. end on
  101. event clicked;if isvalid(w_publ_preview) then w_publ_preview.triggerevent("ue_sentdataout")
  102. end event
  103. type m_筛选 from menu within m_0
  104. end type
  105. on m_筛选.create
  106. call super::create
  107. this.text = "筛选"
  108. end on
  109. on m_筛选.destroy
  110. call super::destroy
  111. end on
  112. event clicked;if isvalid(w_publ_preview) then w_publ_preview.triggerevent("ue_filter")
  113. end event
  114. type m_页面设置 from menu within m_0
  115. end type
  116. on m_页面设置.create
  117. call super::create
  118. this.text = "页面设置"
  119. end on
  120. on m_页面设置.destroy
  121. call super::destroy
  122. end on
  123. event clicked;if isvalid(w_publ_preview) then w_publ_preview.triggerevent("ue_setprintpage_value")
  124. end event
  125. type m_- from menu within m_0
  126. end type
  127. on m_-.create
  128. call super::create
  129. this.text = "-"
  130. end on
  131. on m_-.destroy
  132. call super::destroy
  133. end on
  134. type m_编辑格式 from menu within m_0
  135. end type
  136. event clicked;if isvalid(w_publ_preview) then w_publ_preview.triggerevent("ue_mod_printbill")
  137. end event
  138. on m_编辑格式.create
  139. call super::create
  140. this.text = "编辑格式"
  141. end on
  142. on m_编辑格式.destroy
  143. call super::destroy
  144. end on
  145. type m_1 from menu within m_0
  146. end type
  147. on m_1.create
  148. call super::create
  149. this.text = "-"
  150. end on
  151. on m_1.destroy
  152. call super::destroy
  153. end on
  154. type m_下一页 from menu within m_0
  155. end type
  156. event clicked;if isvalid(w_publ_preview) then w_publ_preview.triggerevent("ue_snp")
  157. end event
  158. on m_下一页.create
  159. call super::create
  160. this.text = "下一页"
  161. end on
  162. on m_下一页.destroy
  163. call super::destroy
  164. end on
  165. type m_上一页 from menu within m_0
  166. end type
  167. on m_上一页.create
  168. call super::create
  169. this.text = "上一页"
  170. end on
  171. on m_上一页.destroy
  172. call super::destroy
  173. end on
  174. event clicked;if isvalid(w_publ_preview) then w_publ_preview.triggerevent("ue_spp")
  175. end event