m_dwchild_rbotton.srm 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. $PBExportHeader$m_dwchild_rbotton.srm
  2. forward
  3. global type m_dwchild_rbotton from menu
  4. end type
  5. type m_0 from menu within m_dwchild_rbotton
  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_-0 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_剪切ctrlx from menu within m_0
  20. end type
  21. type m_复制ctrlc from menu within m_0
  22. end type
  23. type m_粘贴ctrlv from menu within m_0
  24. end type
  25. type m_- from menu within m_0
  26. end type
  27. type m_上移 from menu within m_0
  28. end type
  29. type m_下移 from menu within m_0
  30. end type
  31. type m_0 from menu within m_dwchild_rbotton
  32. m_插行 m_插行
  33. m_增行 m_增行
  34. m_删行 m_删行
  35. m_-0 m_-0
  36. m_复制行 m_复制行
  37. m_1 m_1
  38. m_剪切ctrlx m_剪切ctrlx
  39. m_复制ctrlc m_复制ctrlc
  40. m_粘贴ctrlv m_粘贴ctrlv
  41. m_- m_-
  42. m_上移 m_上移
  43. m_下移 m_下移
  44. end type
  45. global type m_dwchild_rbotton from menu
  46. m_0 m_0
  47. end type
  48. end forward
  49. global type m_dwchild_rbotton from menu
  50. m_0 m_0
  51. end type
  52. global m_dwchild_rbotton m_dwchild_rbotton
  53. on m_dwchild_rbotton.create
  54. m_dwchild_rbotton=this
  55. call super::create
  56. this.text = "m_mstpay"
  57. this.m_0=create m_0
  58. this.Item[UpperBound(this.Item)+1]=this.m_0
  59. end on
  60. on m_dwchild_rbotton.destroy
  61. call super::destroy
  62. destroy(this.m_0)
  63. end on
  64. event clicked;//w_mustpay.triggerevent('ue_add')
  65. end event
  66. type m_0 from menu within m_dwchild_rbotton
  67. m_插行 m_插行
  68. m_增行 m_增行
  69. m_删行 m_删行
  70. m_-0 m_-0
  71. m_复制行 m_复制行
  72. m_1 m_1
  73. m_剪切ctrlx m_剪切ctrlx
  74. m_复制ctrlc m_复制ctrlc
  75. m_粘贴ctrlv m_粘贴ctrlv
  76. m_- m_-
  77. m_上移 m_上移
  78. m_下移 m_下移
  79. end type
  80. on m_0.create
  81. call super::create
  82. this.m_插行=create m_插行
  83. this.m_增行=create m_增行
  84. this.m_删行=create m_删行
  85. this.m_-0=create m_-0
  86. this.m_复制行=create m_复制行
  87. this.m_1=create m_1
  88. this.m_剪切ctrlx=create m_剪切ctrlx
  89. this.m_复制ctrlc=create m_复制ctrlc
  90. this.m_粘贴ctrlv=create m_粘贴ctrlv
  91. this.m_-=create m_-
  92. this.m_上移=create m_上移
  93. this.m_下移=create m_下移
  94. this.Item[UpperBound(this.Item)+1]=this.m_插行
  95. this.Item[UpperBound(this.Item)+1]=this.m_增行
  96. this.Item[UpperBound(this.Item)+1]=this.m_删行
  97. this.Item[UpperBound(this.Item)+1]=this.m_-0
  98. this.Item[UpperBound(this.Item)+1]=this.m_复制行
  99. this.Item[UpperBound(this.Item)+1]=this.m_1
  100. this.Item[UpperBound(this.Item)+1]=this.m_剪切ctrlx
  101. this.Item[UpperBound(this.Item)+1]=this.m_复制ctrlc
  102. this.Item[UpperBound(this.Item)+1]=this.m_粘贴ctrlv
  103. this.Item[UpperBound(this.Item)+1]=this.m_-
  104. this.Item[UpperBound(this.Item)+1]=this.m_上移
  105. this.Item[UpperBound(this.Item)+1]=this.m_下移
  106. end on
  107. on m_0.destroy
  108. call super::destroy
  109. destroy(this.m_插行)
  110. destroy(this.m_增行)
  111. destroy(this.m_删行)
  112. destroy(this.m_-0)
  113. destroy(this.m_复制行)
  114. destroy(this.m_1)
  115. destroy(this.m_剪切ctrlx)
  116. destroy(this.m_复制ctrlc)
  117. destroy(this.m_粘贴ctrlv)
  118. destroy(this.m_-)
  119. destroy(this.m_上移)
  120. destroy(this.m_下移)
  121. end on
  122. type m_插行 from menu within m_0
  123. end type
  124. on m_插行.create
  125. call super::create
  126. this.text = "插行 F4"
  127. end on
  128. on m_插行.destroy
  129. call super::destroy
  130. end on
  131. event clicked;parentwindow.event dynamic ue_insertmx()
  132. end event
  133. type m_增行 from menu within m_0
  134. end type
  135. event clicked;parentwindow.event dynamic ue_addmx()
  136. end event
  137. on m_增行.create
  138. call super::create
  139. this.text = "增行 F5"
  140. end on
  141. on m_增行.destroy
  142. call super::destroy
  143. end on
  144. type m_删行 from menu within m_0
  145. end type
  146. event clicked;parentwindow.event dynamic ue_deletemx()
  147. end event
  148. on m_删行.create
  149. call super::create
  150. this.text = "删行 F6"
  151. end on
  152. on m_删行.destroy
  153. call super::destroy
  154. end on
  155. type m_-0 from menu within m_0
  156. end type
  157. on m_-0.create
  158. call super::create
  159. this.text = "-"
  160. end on
  161. on m_-0.destroy
  162. call super::destroy
  163. end on
  164. type m_复制行 from menu within m_0
  165. end type
  166. event clicked;parentwindow.event dynamic ue_copyrow()
  167. end event
  168. on m_复制行.create
  169. call super::create
  170. this.text = "复制行 Ctrl + A"
  171. end on
  172. on m_复制行.destroy
  173. call super::destroy
  174. end on
  175. type m_1 from menu within m_0
  176. end type
  177. on m_1.create
  178. call super::create
  179. this.text = "-"
  180. end on
  181. on m_1.destroy
  182. call super::destroy
  183. end on
  184. type m_剪切ctrlx from menu within m_0
  185. end type
  186. on m_剪切ctrlx.create
  187. call super::create
  188. this.text = "剪切 Ctrl + X"
  189. end on
  190. on m_剪切ctrlx.destroy
  191. call super::destroy
  192. end on
  193. event clicked;parentwindow.event dynamic ue_cutcol()
  194. end event
  195. type m_复制ctrlc from menu within m_0
  196. end type
  197. on m_复制ctrlc.create
  198. call super::create
  199. this.text = "复制 Ctrl + C"
  200. end on
  201. on m_复制ctrlc.destroy
  202. call super::destroy
  203. end on
  204. event clicked;parentwindow.event dynamic ue_copycol()
  205. end event
  206. type m_粘贴ctrlv from menu within m_0
  207. end type
  208. on m_粘贴ctrlv.create
  209. call super::create
  210. this.text = "粘贴 Ctrl + V"
  211. end on
  212. on m_粘贴ctrlv.destroy
  213. call super::destroy
  214. end on
  215. event clicked;parentwindow.event dynamic ue_pastecol()
  216. end event
  217. type m_- from menu within m_0
  218. end type
  219. on m_-.create
  220. call super::create
  221. this.text = "-"
  222. end on
  223. on m_-.destroy
  224. call super::destroy
  225. end on
  226. type m_上移 from menu within m_0
  227. end type
  228. event clicked;parentwindow.event dynamic ue_rowup()
  229. end event
  230. on m_上移.create
  231. call super::create
  232. this.text = "上移"
  233. end on
  234. on m_上移.destroy
  235. call super::destroy
  236. end on
  237. type m_下移 from menu within m_0
  238. end type
  239. event clicked;parentwindow.event dynamic ue_rowdown()
  240. end event
  241. on m_下移.create
  242. call super::create
  243. this.text = "下移"
  244. end on
  245. on m_下移.destroy
  246. call super::destroy
  247. end on