m_dwchild_rbotton_wfjg.srm 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. $PBExportHeader$m_dwchild_rbotton_wfjg.srm
  2. forward
  3. global type m_dwchild_rbotton_wfjg from menu
  4. end type
  5. type m_0 from menu within m_dwchild_rbotton_wfjg
  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_0 from menu within m_dwchild_rbotton_wfjg
  26. m_插行 m_插行
  27. m_增行 m_增行
  28. m_删行 m_删行
  29. m_-0 m_-0
  30. m_复制行 m_复制行
  31. m_1 m_1
  32. m_剪切ctrlx m_剪切ctrlx
  33. m_复制ctrlc m_复制ctrlc
  34. m_粘贴ctrlv m_粘贴ctrlv
  35. end type
  36. global type m_dwchild_rbotton_wfjg from menu
  37. m_0 m_0
  38. end type
  39. end forward
  40. global type m_dwchild_rbotton_wfjg from menu
  41. m_0 m_0
  42. end type
  43. global m_dwchild_rbotton_wfjg m_dwchild_rbotton_wfjg
  44. on m_dwchild_rbotton_wfjg.create
  45. m_dwchild_rbotton_wfjg=this
  46. call super::create
  47. this.text = "m_dwchild_rbotton_wfjg"
  48. this.m_0=create m_0
  49. this.Item[UpperBound(this.Item)+1]=this.m_0
  50. end on
  51. on m_dwchild_rbotton_wfjg.destroy
  52. call super::destroy
  53. destroy(this.m_0)
  54. end on
  55. event clicked;//w_mustpay.triggerevent('ue_add')
  56. end event
  57. type m_0 from menu within m_dwchild_rbotton_wfjg
  58. m_插行 m_插行
  59. m_增行 m_增行
  60. m_删行 m_删行
  61. m_-0 m_-0
  62. m_复制行 m_复制行
  63. m_1 m_1
  64. m_剪切ctrlx m_剪切ctrlx
  65. m_复制ctrlc m_复制ctrlc
  66. m_粘贴ctrlv m_粘贴ctrlv
  67. end type
  68. on m_0.create
  69. call super::create
  70. this.m_插行=create m_插行
  71. this.m_增行=create m_增行
  72. this.m_删行=create m_删行
  73. this.m_-0=create m_-0
  74. this.m_复制行=create m_复制行
  75. this.m_1=create m_1
  76. this.m_剪切ctrlx=create m_剪切ctrlx
  77. this.m_复制ctrlc=create m_复制ctrlc
  78. this.m_粘贴ctrlv=create m_粘贴ctrlv
  79. this.Item[UpperBound(this.Item)+1]=this.m_插行
  80. this.Item[UpperBound(this.Item)+1]=this.m_增行
  81. this.Item[UpperBound(this.Item)+1]=this.m_删行
  82. this.Item[UpperBound(this.Item)+1]=this.m_-0
  83. this.Item[UpperBound(this.Item)+1]=this.m_复制行
  84. this.Item[UpperBound(this.Item)+1]=this.m_1
  85. this.Item[UpperBound(this.Item)+1]=this.m_剪切ctrlx
  86. this.Item[UpperBound(this.Item)+1]=this.m_复制ctrlc
  87. this.Item[UpperBound(this.Item)+1]=this.m_粘贴ctrlv
  88. end on
  89. on m_0.destroy
  90. call super::destroy
  91. destroy(this.m_插行)
  92. destroy(this.m_增行)
  93. destroy(this.m_删行)
  94. destroy(this.m_-0)
  95. destroy(this.m_复制行)
  96. destroy(this.m_1)
  97. destroy(this.m_剪切ctrlx)
  98. destroy(this.m_复制ctrlc)
  99. destroy(this.m_粘贴ctrlv)
  100. end on
  101. type m_插行 from menu within m_0
  102. end type
  103. on m_插行.create
  104. call super::create
  105. this.text = "插行 F4"
  106. end on
  107. on m_插行.destroy
  108. call super::destroy
  109. end on
  110. event clicked;parentwindow.event dynamic ue_insertmx()
  111. end event
  112. type m_增行 from menu within m_0
  113. end type
  114. event clicked;parentwindow.event dynamic ue_addmx()
  115. end event
  116. on m_增行.create
  117. call super::create
  118. this.text = "增行 F5"
  119. end on
  120. on m_增行.destroy
  121. call super::destroy
  122. end on
  123. type m_删行 from menu within m_0
  124. end type
  125. event clicked;parentwindow.event dynamic ue_deletemx()
  126. end event
  127. on m_删行.create
  128. call super::create
  129. this.text = "删行 F6"
  130. end on
  131. on m_删行.destroy
  132. call super::destroy
  133. end on
  134. type m_-0 from menu within m_0
  135. end type
  136. on m_-0.create
  137. call super::create
  138. this.text = "-"
  139. end on
  140. on m_-0.destroy
  141. call super::destroy
  142. end on
  143. type m_复制行 from menu within m_0
  144. end type
  145. event clicked;parentwindow.event dynamic ue_copyrow()
  146. end event
  147. on m_复制行.create
  148. call super::create
  149. this.text = "复制行 Ctrl + A"
  150. end on
  151. on m_复制行.destroy
  152. call super::destroy
  153. end on
  154. type m_1 from menu within m_0
  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_剪切ctrlx from menu within m_0
  164. end type
  165. on m_剪切ctrlx.create
  166. call super::create
  167. this.text = "剪切 Ctrl + X"
  168. end on
  169. on m_剪切ctrlx.destroy
  170. call super::destroy
  171. end on
  172. event clicked;parentwindow.event dynamic ue_cutcol()
  173. end event
  174. type m_复制ctrlc from menu within m_0
  175. end type
  176. on m_复制ctrlc.create
  177. call super::create
  178. this.text = "复制 Ctrl + C"
  179. end on
  180. on m_复制ctrlc.destroy
  181. call super::destroy
  182. end on
  183. event clicked;parentwindow.event dynamic ue_copycol()
  184. end event
  185. type m_粘贴ctrlv from menu within m_0
  186. end type
  187. on m_粘贴ctrlv.create
  188. call super::create
  189. this.text = "粘贴 Ctrl + V"
  190. end on
  191. on m_粘贴ctrlv.destroy
  192. call super::destroy
  193. end on
  194. event clicked;parentwindow.event dynamic ue_pastecol()
  195. end event