m_rpt_pop.srm 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. $PBExportHeader$m_rpt_pop.srm
  2. $PBExportComments$设计器右鼠标--菜单
  3. forward
  4. global type m_rpt_pop from menu
  5. end type
  6. type m_popup from menu within m_rpt_pop
  7. end type
  8. type m_dxsx from menu within m_popup
  9. end type
  10. type m_-0 from menu within m_popup
  11. end type
  12. type m_c from menu within m_popup
  13. end type
  14. type m_d from menu within m_popup
  15. end type
  16. type m_a from menu within m_popup
  17. end type
  18. type m_1 from menu within m_popup
  19. end type
  20. type m_e from menu within m_popup
  21. end type
  22. type m_f from menu within m_popup
  23. end type
  24. type m_cross from menu within m_popup
  25. end type
  26. type m_popup from menu within m_rpt_pop
  27. m_dxsx m_dxsx
  28. m_-0 m_-0
  29. m_c m_c
  30. m_d m_d
  31. m_a m_a
  32. m_1 m_1
  33. m_e m_e
  34. m_f m_f
  35. m_cross m_cross
  36. end type
  37. global type m_rpt_pop from menu
  38. m_popup m_popup
  39. end type
  40. end forward
  41. global type m_rpt_pop from menu
  42. m_popup m_popup
  43. end type
  44. global m_rpt_pop m_rpt_pop
  45. on m_rpt_pop.create
  46. m_rpt_pop=this
  47. call super::create
  48. this.m_popup=create m_popup
  49. this.Item[UpperBound(this.Item)+1]=this.m_popup
  50. end on
  51. on m_rpt_pop.destroy
  52. call super::destroy
  53. destroy(this.m_popup)
  54. end on
  55. type m_popup from menu within m_rpt_pop
  56. m_dxsx m_dxsx
  57. m_-0 m_-0
  58. m_c m_c
  59. m_d m_d
  60. m_a m_a
  61. m_1 m_1
  62. m_e m_e
  63. m_f m_f
  64. m_cross m_cross
  65. end type
  66. on m_popup.create
  67. call super::create
  68. this.text = "文件"
  69. this.mergeoption = filemenu!
  70. this.m_dxsx=create m_dxsx
  71. this.m_-0=create m_-0
  72. this.m_c=create m_c
  73. this.m_d=create m_d
  74. this.m_a=create m_a
  75. this.m_1=create m_1
  76. this.m_e=create m_e
  77. this.m_f=create m_f
  78. this.m_cross=create m_cross
  79. this.Item[UpperBound(this.Item)+1]=this.m_dxsx
  80. this.Item[UpperBound(this.Item)+1]=this.m_-0
  81. this.Item[UpperBound(this.Item)+1]=this.m_c
  82. this.Item[UpperBound(this.Item)+1]=this.m_d
  83. this.Item[UpperBound(this.Item)+1]=this.m_a
  84. this.Item[UpperBound(this.Item)+1]=this.m_1
  85. this.Item[UpperBound(this.Item)+1]=this.m_e
  86. this.Item[UpperBound(this.Item)+1]=this.m_f
  87. this.Item[UpperBound(this.Item)+1]=this.m_cross
  88. end on
  89. on m_popup.destroy
  90. call super::destroy
  91. destroy(this.m_dxsx)
  92. destroy(this.m_-0)
  93. destroy(this.m_c)
  94. destroy(this.m_d)
  95. destroy(this.m_a)
  96. destroy(this.m_1)
  97. destroy(this.m_e)
  98. destroy(this.m_f)
  99. destroy(this.m_cross)
  100. end on
  101. type m_dxsx from menu within m_popup
  102. end type
  103. on m_dxsx.create
  104. call super::create
  105. this.text = "属性"
  106. end on
  107. event clicked;parentwindow.event dynamic ue_properties('')
  108. end event
  109. on m_dxsx.destroy
  110. call super::destroy
  111. end on
  112. type m_-0 from menu within m_popup
  113. end type
  114. on m_-0.create
  115. call super::create
  116. this.text = "-"
  117. end on
  118. on m_-0.destroy
  119. call super::destroy
  120. end on
  121. type m_c from menu within m_popup
  122. end type
  123. on m_c.create
  124. call super::create
  125. this.text = "复制(&T)"
  126. end on
  127. event clicked;parentwindow.event dynamic ue_copy()
  128. end event
  129. on m_c.destroy
  130. call super::destroy
  131. end on
  132. type m_d from menu within m_popup
  133. end type
  134. on m_d.create
  135. call super::create
  136. this.text = "删除(&D)"
  137. end on
  138. event clicked;parentwindow.event dynamic ue_delobj()
  139. end event
  140. on m_d.destroy
  141. call super::destroy
  142. end on
  143. type m_a from menu within m_popup
  144. end type
  145. on m_a.create
  146. call super::create
  147. this.text = "全选(&A)"
  148. end on
  149. event clicked;parentwindow.event dynamic ue_sel_yes('all')
  150. end event
  151. on m_a.destroy
  152. call super::destroy
  153. end on
  154. type m_1 from menu within m_popup
  155. end type
  156. on m_1.create
  157. call super::create
  158. this.text = "-"
  159. end on
  160. on m_1.destroy
  161. call super::destroy
  162. end on
  163. type m_e from menu within m_popup
  164. end type
  165. on m_e.create
  166. call super::create
  167. this.text = "置顶层"
  168. end on
  169. event clicked;parentwindow.event dynamic ue_cc(1)
  170. end event
  171. on m_e.destroy
  172. call super::destroy
  173. end on
  174. type m_f from menu within m_popup
  175. end type
  176. on m_f.create
  177. call super::create
  178. this.text = "置底层"
  179. end on
  180. event clicked;parentwindow.event dynamic ue_cc(0)
  181. end event
  182. on m_f.destroy
  183. call super::destroy
  184. end on
  185. type m_cross from menu within m_popup
  186. end type
  187. on m_cross.create
  188. call super::create
  189. this.text = "Crosstab设置(&C)"
  190. end on
  191. event clicked;parentwindow.event dynamic ue_properties('crosstab')
  192. end event
  193. on m_cross.destroy
  194. call super::destroy
  195. end on