m_rpt_manage.srm 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425
  1. $PBExportHeader$m_rpt_manage.srm
  2. $PBExportComments$登记管理--菜单
  3. forward
  4. global type m_rpt_manage from menu
  5. end type
  6. type m_1 from menu within m_rpt_manage
  7. end type
  8. type m_11 from menu within m_1
  9. end type
  10. type m_- from menu within m_1
  11. end type
  12. type m_15 from menu within m_1
  13. end type
  14. type m_-1 from menu within m_1
  15. end type
  16. type m_12 from menu within m_1
  17. end type
  18. type m_-21 from menu within m_1
  19. end type
  20. type m_13 from menu within m_1
  21. end type
  22. type m_-3 from menu within m_1
  23. end type
  24. type m_14 from menu within m_1
  25. end type
  26. type m_1 from menu within m_rpt_manage
  27. m_11 m_11
  28. m_- m_-
  29. m_15 m_15
  30. m_-1 m_-1
  31. m_12 m_12
  32. m_-21 m_-21
  33. m_13 m_13
  34. m_-3 m_-3
  35. m_14 m_14
  36. end type
  37. type m_3 from menu within m_rpt_manage
  38. end type
  39. type m_31 from menu within m_3
  40. end type
  41. type m_-2 from menu within m_3
  42. end type
  43. type m_32 from menu within m_3
  44. end type
  45. type m_3 from menu within m_rpt_manage
  46. m_31 m_31
  47. m_-2 m_-2
  48. m_32 m_32
  49. end type
  50. type m_4 from menu within m_rpt_manage
  51. end type
  52. type m_41 from menu within m_4
  53. end type
  54. type m_4 from menu within m_rpt_manage
  55. m_41 m_41
  56. end type
  57. type m_5 from menu within m_rpt_manage
  58. end type
  59. type m_51 from menu within m_5
  60. end type
  61. type m_-xt1 from menu within m_5
  62. end type
  63. type m_2 from menu within m_5
  64. end type
  65. type m_-4 from menu within m_5
  66. end type
  67. type m_52 from menu within m_5
  68. end type
  69. type m_5 from menu within m_rpt_manage
  70. m_51 m_51
  71. m_-xt1 m_-xt1
  72. m_2 m_2
  73. m_-4 m_-4
  74. m_52 m_52
  75. end type
  76. end forward
  77. global type m_rpt_manage from menu
  78. m_1 m_1
  79. m_3 m_3
  80. m_4 m_4
  81. m_5 m_5
  82. end type
  83. global m_rpt_manage m_rpt_manage
  84. on m_rpt_manage.create
  85. m_rpt_manage=this
  86. this.m_1=create m_1
  87. this.m_3=create m_3
  88. this.m_4=create m_4
  89. this.m_5=create m_5
  90. this.Item[]={this.m_1, &
  91. this.m_3, &
  92. this.m_4, &
  93. this.m_5}
  94. end on
  95. on m_rpt_manage.destroy
  96. destroy(this.m_1)
  97. destroy(this.m_3)
  98. destroy(this.m_4)
  99. destroy(this.m_5)
  100. end on
  101. type m_1 from menu within m_rpt_manage
  102. m_11 m_11
  103. m_- m_-
  104. m_15 m_15
  105. m_-1 m_-1
  106. m_12 m_12
  107. m_-21 m_-21
  108. m_13 m_13
  109. m_-3 m_-3
  110. m_14 m_14
  111. end type
  112. on m_1.create
  113. this.Text="报表建立(&A)"
  114. this.m_11=create m_11
  115. this.m_-=create m_-
  116. this.m_15=create m_15
  117. this.m_-1=create m_-1
  118. this.m_12=create m_12
  119. this.m_-21=create m_-21
  120. this.m_13=create m_13
  121. this.m_-3=create m_-3
  122. this.m_14=create m_14
  123. this.Item[]={this.m_11, &
  124. this.m_-, &
  125. this.m_15, &
  126. this.m_-1, &
  127. this.m_12, &
  128. this.m_-21, &
  129. this.m_13, &
  130. this.m_-3, &
  131. this.m_14}
  132. end on
  133. on m_1.destroy
  134. destroy(this.m_11)
  135. destroy(this.m_-)
  136. destroy(this.m_15)
  137. destroy(this.m_-1)
  138. destroy(this.m_12)
  139. destroy(this.m_-21)
  140. destroy(this.m_13)
  141. destroy(this.m_-3)
  142. destroy(this.m_14)
  143. end on
  144. type m_11 from menu within m_1
  145. end type
  146. on m_11.create
  147. this.Text="新增"
  148. this.Microhelp="新增"
  149. this.ToolBarItemName="ScriptNo!"
  150. this.ToolBarItemText="新增"
  151. end on
  152. event clicked;parentwindow.event dynamic ue_new(0)
  153. end event
  154. type m_- from menu within m_1
  155. end type
  156. on m_-.create
  157. this.Text="-"
  158. end on
  159. type m_15 from menu within m_1
  160. end type
  161. on m_15.create
  162. this.Text="插入"
  163. this.Microhelp="插入"
  164. this.ToolBarItemName="Insert5!"
  165. this.ToolBarItemText="插入"
  166. this.ToolBarItemSpace=1
  167. end on
  168. event clicked;parentwindow.event dynamic ue_new(1)
  169. end event
  170. type m_-1 from menu within m_1
  171. end type
  172. on m_-1.create
  173. this.Text="-"
  174. end on
  175. type m_12 from menu within m_1
  176. end type
  177. on m_12.create
  178. this.Text="删除"
  179. this.Microhelp="删除"
  180. this.ToolBarItemName="Custom080!"
  181. this.ToolBarItemText="删除"
  182. this.ToolBarItemSpace=1
  183. end on
  184. event clicked;parentwindow.event dynamic ue_delete()
  185. end event
  186. type m_-21 from menu within m_1
  187. end type
  188. on m_-21.create
  189. this.Text="-"
  190. end on
  191. type m_13 from menu within m_1
  192. end type
  193. on m_13.create
  194. this.Text="上移位置~tF5"
  195. this.Microhelp="上移位置"
  196. this.ToolBarItemName="Custom033!"
  197. this.ToolBarItemText="上移位置"
  198. this.ToolBarItemSpace=1
  199. this.Shortcut=116
  200. end on
  201. event clicked;parentwindow.event dynamic ue_moveup()
  202. end event
  203. type m_-3 from menu within m_1
  204. end type
  205. on m_-3.create
  206. this.Text="-"
  207. end on
  208. type m_14 from menu within m_1
  209. end type
  210. on m_14.create
  211. this.Text="下移位置~tF6"
  212. this.Microhelp="下移位置"
  213. this.ToolBarItemName="Custom034!"
  214. this.ToolBarItemText="下移位置"
  215. this.ToolBarItemSpace=1
  216. this.Shortcut=117
  217. end on
  218. event clicked;parentwindow.event dynamic ue_movedown()
  219. end event
  220. type m_3 from menu within m_rpt_manage
  221. m_31 m_31
  222. m_-2 m_-2
  223. m_32 m_32
  224. end type
  225. on m_3.create
  226. this.Text="报表设计(&B)"
  227. this.m_31=create m_31
  228. this.m_-2=create m_-2
  229. this.m_32=create m_32
  230. this.Item[]={this.m_31, &
  231. this.m_-2, &
  232. this.m_32}
  233. end on
  234. on m_3.destroy
  235. destroy(this.m_31)
  236. destroy(this.m_-2)
  237. destroy(this.m_32)
  238. end on
  239. type m_31 from menu within m_3
  240. end type
  241. on m_31.create
  242. this.Text="自动生成"
  243. this.Microhelp="自动生成"
  244. this.ToolBarItemName="ExecuteSQL5!"
  245. this.ToolBarItemText="自动生成"
  246. this.ToolBarItemSpace=1
  247. end on
  248. event clicked;parentwindow.event dynamic ue_open_report('auto')
  249. end event
  250. type m_-2 from menu within m_3
  251. end type
  252. on m_-2.create
  253. this.Text="-"
  254. end on
  255. type m_32 from menu within m_3
  256. end type
  257. on m_32.create
  258. this.Text="手动修改"
  259. this.Microhelp="手动修改"
  260. this.ToolBarItemName="DosEdit5!"
  261. this.ToolBarItemText="手动修改"
  262. this.ToolBarItemSpace=1
  263. end on
  264. event clicked;parentwindow.event dynamic ue_open_report('maner')
  265. end event
  266. type m_4 from menu within m_rpt_manage
  267. m_41 m_41
  268. end type
  269. on m_4.create
  270. this.Text="报表输出(&C)"
  271. this.m_41=create m_41
  272. this.Item[]={this.m_41}
  273. end on
  274. on m_4.destroy
  275. destroy(this.m_41)
  276. end on
  277. type m_41 from menu within m_4
  278. end type
  279. on m_41.create
  280. this.Text="预览"
  281. this.Microhelp="预览"
  282. this.ToolBarItemName="EditDataGrid!"
  283. this.ToolBarItemText="预览"
  284. this.ToolBarItemSpace=1
  285. end on
  286. event clicked;parentwindow.event dynamic ue_preview()
  287. end event
  288. type m_5 from menu within m_rpt_manage
  289. m_51 m_51
  290. m_-xt1 m_-xt1
  291. m_2 m_2
  292. m_-4 m_-4
  293. m_52 m_52
  294. end type
  295. on m_5.create
  296. this.Text="系统功能(&D)"
  297. this.m_51=create m_51
  298. this.m_-xt1=create m_-xt1
  299. this.m_2=create m_2
  300. this.m_-4=create m_-4
  301. this.m_52=create m_52
  302. this.Item[]={this.m_51, &
  303. this.m_-xt1, &
  304. this.m_2, &
  305. this.m_-4, &
  306. this.m_52}
  307. end on
  308. on m_5.destroy
  309. destroy(this.m_51)
  310. destroy(this.m_-xt1)
  311. destroy(this.m_2)
  312. destroy(this.m_-4)
  313. destroy(this.m_52)
  314. end on
  315. type m_51 from menu within m_5
  316. end type
  317. on m_51.create
  318. this.Text="帮助~tF1"
  319. this.Microhelp="帮助"
  320. this.ToolBarItemName="HELP!"
  321. this.ToolBarItemText="帮助"
  322. this.ToolBarItemSpace=1
  323. this.Shortcut=112
  324. end on
  325. event clicked;ShowHelp("report.HLP", keyword!, "report_define")
  326. //ShowHelp("report.HLP", topic!, 888801)
  327. end event
  328. type m_-xt1 from menu within m_5
  329. end type
  330. on m_-xt1.create
  331. this.Text="-"
  332. end on
  333. type m_2 from menu within m_5
  334. end type
  335. on m_2.create
  336. this.Text="版本信息"
  337. end on
  338. event clicked;open(w_zkl_begin)
  339. end event
  340. type m_-4 from menu within m_5
  341. end type
  342. on m_-4.create
  343. this.Text="-"
  344. end on
  345. type m_52 from menu within m_5
  346. end type
  347. on m_52.create
  348. this.Text="返回"
  349. this.Microhelp="返回"
  350. this.ToolBarItemName="Exit!"
  351. this.ToolBarItemText="返回"
  352. this.ToolBarItemSpace=1
  353. end on
  354. event clicked;if isvalid(parentwindow) then
  355. close(parentwindow)
  356. end if
  357. end event