m_rpt_preview.srm 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607
  1. $PBExportHeader$m_rpt_preview.srm
  2. $PBExportComments$预览--菜单
  3. forward
  4. global type m_rpt_preview from menu
  5. end type
  6. type m_sz from menu within m_rpt_preview
  7. end type
  8. type m_ylzt from menu within m_sz
  9. end type
  10. type m_-sz1 from menu within m_sz
  11. end type
  12. type m_bc from menu within m_sz
  13. end type
  14. type m_-21 from menu within m_sz
  15. end type
  16. type m_cond from menu within m_sz
  17. end type
  18. type m_-22 from menu within m_sz
  19. end type
  20. type m_22 from menu within m_sz
  21. end type
  22. type m_sz from menu within m_rpt_preview
  23. m_ylzt m_ylzt
  24. m_-sz1 m_-sz1
  25. m_bc m_bc
  26. m_-21 m_-21
  27. m_cond m_cond
  28. m_-22 m_-22
  29. m_22 m_22
  30. end type
  31. type m_功能 from menu within m_rpt_preview
  32. end type
  33. type m_数据发送 from menu within m_功能
  34. end type
  35. type m_筛选 from menu within m_功能
  36. end type
  37. type m_页面设置 from menu within m_功能
  38. end type
  39. type m_02 from menu within m_功能
  40. end type
  41. type m_上一页 from menu within m_功能
  42. end type
  43. type m_下一页 from menu within m_功能
  44. end type
  45. type m_功能 from menu within m_rpt_preview
  46. m_数据发送 m_数据发送
  47. m_筛选 m_筛选
  48. m_页面设置 m_页面设置
  49. m_02 m_02
  50. m_上一页 m_上一页
  51. m_下一页 m_下一页
  52. end type
  53. type m_3 from menu within m_rpt_preview
  54. end type
  55. type m_31 from menu within m_3
  56. end type
  57. type m_3 from menu within m_rpt_preview
  58. m_31 m_31
  59. end type
  60. type m_4 from menu within m_rpt_preview
  61. end type
  62. type m_41 from menu within m_4
  63. end type
  64. type m_bbxx from menu within m_4
  65. end type
  66. type m_01 from menu within m_4
  67. end type
  68. type m_42 from menu within m_4
  69. end type
  70. type m_4 from menu within m_rpt_preview
  71. m_41 m_41
  72. m_bbxx m_bbxx
  73. m_01 m_01
  74. m_42 m_42
  75. end type
  76. type m_bblc from menu within m_rpt_preview
  77. end type
  78. type m_bblc2 from menu within m_bblc
  79. end type
  80. type m_bblc0 from menu within m_bblc
  81. end type
  82. type m_bblc from menu within m_rpt_preview
  83. m_bblc2 m_bblc2
  84. m_bblc0 m_bblc0
  85. end type
  86. global type m_rpt_preview from menu
  87. m_sz m_sz
  88. m_功能 m_功能
  89. m_3 m_3
  90. m_4 m_4
  91. m_bblc m_bblc
  92. end type
  93. end forward
  94. global type m_rpt_preview from menu
  95. m_sz m_sz
  96. m_功能 m_功能
  97. m_3 m_3
  98. m_4 m_4
  99. m_bblc m_bblc
  100. end type
  101. global m_rpt_preview m_rpt_preview
  102. on m_rpt_preview.create
  103. m_rpt_preview=this
  104. call super::create
  105. this.m_sz=create m_sz
  106. this.m_功能=create m_功能
  107. this.m_3=create m_3
  108. this.m_4=create m_4
  109. this.m_bblc=create m_bblc
  110. this.Item[UpperBound(this.Item)+1]=this.m_sz
  111. this.Item[UpperBound(this.Item)+1]=this.m_功能
  112. this.Item[UpperBound(this.Item)+1]=this.m_3
  113. this.Item[UpperBound(this.Item)+1]=this.m_4
  114. this.Item[UpperBound(this.Item)+1]=this.m_bblc
  115. end on
  116. on m_rpt_preview.destroy
  117. call super::destroy
  118. destroy(this.m_sz)
  119. destroy(this.m_功能)
  120. destroy(this.m_3)
  121. destroy(this.m_4)
  122. destroy(this.m_bblc)
  123. end on
  124. type m_sz from menu within m_rpt_preview
  125. m_ylzt m_ylzt
  126. m_-sz1 m_-sz1
  127. m_bc m_bc
  128. m_-21 m_-21
  129. m_cond m_cond
  130. m_-22 m_-22
  131. m_22 m_22
  132. end type
  133. on m_sz.create
  134. call super::create
  135. this.text = "设置"
  136. this.m_ylzt=create m_ylzt
  137. this.m_-sz1=create m_-sz1
  138. this.m_bc=create m_bc
  139. this.m_-21=create m_-21
  140. this.m_cond=create m_cond
  141. this.m_-22=create m_-22
  142. this.m_22=create m_22
  143. this.Item[UpperBound(this.Item)+1]=this.m_ylzt
  144. this.Item[UpperBound(this.Item)+1]=this.m_-sz1
  145. this.Item[UpperBound(this.Item)+1]=this.m_bc
  146. this.Item[UpperBound(this.Item)+1]=this.m_-21
  147. this.Item[UpperBound(this.Item)+1]=this.m_cond
  148. this.Item[UpperBound(this.Item)+1]=this.m_-22
  149. this.Item[UpperBound(this.Item)+1]=this.m_22
  150. end on
  151. on m_sz.destroy
  152. call super::destroy
  153. destroy(this.m_ylzt)
  154. destroy(this.m_-sz1)
  155. destroy(this.m_bc)
  156. destroy(this.m_-21)
  157. destroy(this.m_cond)
  158. destroy(this.m_-22)
  159. destroy(this.m_22)
  160. end on
  161. type m_ylzt from menu within m_sz
  162. event destroy ( )
  163. end type
  164. on m_ylzt.destroy
  165. call super::destroy
  166. end on
  167. on m_ylzt.create
  168. call super::create
  169. this.tag = "checked"
  170. this.visible = false
  171. this.text = "修改数据"
  172. this.microhelp = "修改数据"
  173. this.toolbaritemvisible = false
  174. this.toolbaritemname = "Table!"
  175. this.toolbaritemtext = "修改数据"
  176. this.toolbaritemspace = 1
  177. end on
  178. event clicked;parentwindow.event dynamic ue_stat(1)
  179. end event
  180. type m_-sz1 from menu within m_sz
  181. event destroy ( )
  182. end type
  183. on m_-sz1.destroy
  184. call super::destroy
  185. end on
  186. on m_-sz1.create
  187. call super::create
  188. this.text = "-"
  189. end on
  190. type m_bc from menu within m_sz
  191. event destroy ( )
  192. end type
  193. on m_bc.destroy
  194. call super::destroy
  195. end on
  196. on m_bc.create
  197. call super::create
  198. this.tag = "checked"
  199. this.text = "标尺"
  200. this.microhelp = "标尺"
  201. this.toolbaritemname = "DesignMode!"
  202. this.toolbaritemtext = "标尺"
  203. this.toolbaritemspace = 1
  204. end on
  205. event clicked;parentwindow.event dynamic ue_check(1)
  206. end event
  207. type m_-21 from menu within m_sz
  208. event destroy ( )
  209. end type
  210. on m_-21.destroy
  211. call super::destroy
  212. end on
  213. on m_-21.create
  214. call super::create
  215. this.text = "-"
  216. end on
  217. type m_cond from menu within m_sz
  218. event destroy ( )
  219. end type
  220. on m_cond.destroy
  221. call super::destroy
  222. end on
  223. on m_cond.create
  224. call super::create
  225. this.text = "打印条件"
  226. this.microhelp = "打印条件"
  227. this.toolbaritemname = "Find!"
  228. this.toolbaritemtext = "打印条件"
  229. this.toolbaritemspace = 1
  230. end on
  231. event clicked;parentwindow.event dynamic ue_cond()
  232. end event
  233. type m_-22 from menu within m_sz
  234. event destroy ( )
  235. end type
  236. on m_-22.destroy
  237. call super::destroy
  238. end on
  239. on m_-22.create
  240. call super::create
  241. this.text = "-"
  242. end on
  243. type m_22 from menu within m_sz
  244. event destroy ( )
  245. end type
  246. on m_22.destroy
  247. call super::destroy
  248. end on
  249. on m_22.create
  250. call super::create
  251. this.text = "打印参数"
  252. this.microhelp = "打印参数设置"
  253. this.toolbaritemname = "Custom074!"
  254. this.toolbaritemtext = "打印参数"
  255. this.toolbaritemspace = 1
  256. end on
  257. event clicked;parentwindow.event dynamic ue_setup()
  258. end event
  259. type m_功能 from menu within m_rpt_preview
  260. m_数据发送 m_数据发送
  261. m_筛选 m_筛选
  262. m_页面设置 m_页面设置
  263. m_02 m_02
  264. m_上一页 m_上一页
  265. m_下一页 m_下一页
  266. end type
  267. on m_功能.create
  268. call super::create
  269. this.text = "功能"
  270. this.m_数据发送=create m_数据发送
  271. this.m_筛选=create m_筛选
  272. this.m_页面设置=create m_页面设置
  273. this.m_02=create m_02
  274. this.m_上一页=create m_上一页
  275. this.m_下一页=create m_下一页
  276. this.Item[UpperBound(this.Item)+1]=this.m_数据发送
  277. this.Item[UpperBound(this.Item)+1]=this.m_筛选
  278. this.Item[UpperBound(this.Item)+1]=this.m_页面设置
  279. this.Item[UpperBound(this.Item)+1]=this.m_02
  280. this.Item[UpperBound(this.Item)+1]=this.m_上一页
  281. this.Item[UpperBound(this.Item)+1]=this.m_下一页
  282. end on
  283. on m_功能.destroy
  284. call super::destroy
  285. destroy(this.m_数据发送)
  286. destroy(this.m_筛选)
  287. destroy(this.m_页面设置)
  288. destroy(this.m_02)
  289. destroy(this.m_上一页)
  290. destroy(this.m_下一页)
  291. end on
  292. type m_数据发送 from menu within m_功能
  293. end type
  294. on m_数据发送.create
  295. call super::create
  296. this.text = "数据发送"
  297. end on
  298. on m_数据发送.destroy
  299. call super::destroy
  300. end on
  301. type m_筛选 from menu within m_功能
  302. end type
  303. on m_筛选.create
  304. call super::create
  305. this.text = "筛选"
  306. end on
  307. on m_筛选.destroy
  308. call super::destroy
  309. end on
  310. type m_页面设置 from menu within m_功能
  311. end type
  312. on m_页面设置.create
  313. call super::create
  314. this.text = "页面设置"
  315. end on
  316. on m_页面设置.destroy
  317. call super::destroy
  318. end on
  319. type m_02 from menu within m_功能
  320. end type
  321. on m_02.create
  322. call super::create
  323. this.text = "-"
  324. end on
  325. on m_02.destroy
  326. call super::destroy
  327. end on
  328. type m_上一页 from menu within m_功能
  329. end type
  330. on m_上一页.create
  331. call super::create
  332. this.text = "上一页"
  333. end on
  334. on m_上一页.destroy
  335. call super::destroy
  336. end on
  337. type m_下一页 from menu within m_功能
  338. end type
  339. on m_下一页.create
  340. call super::create
  341. this.text = "下一页"
  342. end on
  343. on m_下一页.destroy
  344. call super::destroy
  345. end on
  346. type m_3 from menu within m_rpt_preview
  347. m_31 m_31
  348. end type
  349. on m_3.create
  350. call super::create
  351. this.text = "打印"
  352. this.m_31=create m_31
  353. this.Item[UpperBound(this.Item)+1]=this.m_31
  354. end on
  355. on m_3.destroy
  356. call super::destroy
  357. destroy(this.m_31)
  358. end on
  359. type m_31 from menu within m_3
  360. event destroy ( )
  361. end type
  362. on m_31.destroy
  363. call super::destroy
  364. end on
  365. on m_31.create
  366. call super::create
  367. this.text = "打印"
  368. this.microhelp = "打印"
  369. this.toolbaritemname = "print!"
  370. this.toolbaritemtext = "打印"
  371. this.toolbaritemspace = 2
  372. end on
  373. event clicked;parentwindow.event dynamic ue_print()
  374. end event
  375. type m_4 from menu within m_rpt_preview
  376. m_41 m_41
  377. m_bbxx m_bbxx
  378. m_01 m_01
  379. m_42 m_42
  380. end type
  381. on m_4.create
  382. call super::create
  383. this.text = "系统"
  384. this.toolbaritemspace = 2
  385. this.m_41=create m_41
  386. this.m_bbxx=create m_bbxx
  387. this.m_01=create m_01
  388. this.m_42=create m_42
  389. this.Item[UpperBound(this.Item)+1]=this.m_41
  390. this.Item[UpperBound(this.Item)+1]=this.m_bbxx
  391. this.Item[UpperBound(this.Item)+1]=this.m_01
  392. this.Item[UpperBound(this.Item)+1]=this.m_42
  393. end on
  394. on m_4.destroy
  395. call super::destroy
  396. destroy(this.m_41)
  397. destroy(this.m_bbxx)
  398. destroy(this.m_01)
  399. destroy(this.m_42)
  400. end on
  401. type m_41 from menu within m_4
  402. event destroy ( )
  403. end type
  404. on m_41.destroy
  405. call super::destroy
  406. end on
  407. event clicked;//ShowHelp("report.HLP", keyword!, "report_preview")
  408. end event
  409. on m_41.create
  410. call super::create
  411. this.text = "帮助~tF1"
  412. this.shortcut = 112
  413. this.microhelp = "帮助"
  414. this.toolbaritemname = "Help!"
  415. this.toolbaritemtext = "帮助"
  416. this.toolbaritemspace = 1
  417. end on
  418. type m_bbxx from menu within m_4
  419. event destroy ( )
  420. end type
  421. on m_bbxx.destroy
  422. call super::destroy
  423. end on
  424. event clicked;open(w_zkl_begin)
  425. end event
  426. on m_bbxx.create
  427. call super::create
  428. this.visible = false
  429. this.text = "版本信息"
  430. this.microhelp = "版本信息"
  431. this.toolbaritemvisible = false
  432. end on
  433. type m_01 from menu within m_4
  434. event destroy ( )
  435. end type
  436. on m_01.destroy
  437. call super::destroy
  438. end on
  439. on m_01.create
  440. call super::create
  441. this.text = "-"
  442. end on
  443. type m_42 from menu within m_4
  444. event destroy ( )
  445. end type
  446. on m_42.destroy
  447. call super::destroy
  448. end on
  449. event clicked;if isvalid(parentwindow) then
  450. close(parentwindow)
  451. end if
  452. end event
  453. on m_42.create
  454. call super::create
  455. this.text = "返回"
  456. this.microhelp = "返回"
  457. this.toolbaritemname = "exit!"
  458. this.toolbaritemtext = "返回"
  459. this.toolbaritemspace = 1
  460. end on
  461. type m_bblc from menu within m_rpt_preview
  462. m_bblc2 m_bblc2
  463. m_bblc0 m_bblc0
  464. end type
  465. on m_bblc.create
  466. call super::create
  467. this.visible = false
  468. this.text = "报表另存"
  469. this.m_bblc2=create m_bblc2
  470. this.m_bblc0=create m_bblc0
  471. this.Item[UpperBound(this.Item)+1]=this.m_bblc2
  472. this.Item[UpperBound(this.Item)+1]=this.m_bblc0
  473. end on
  474. on m_bblc.destroy
  475. call super::destroy
  476. destroy(this.m_bblc2)
  477. destroy(this.m_bblc0)
  478. end on
  479. event clicked;parentwindow.event dynamic ue_new(0)
  480. end event
  481. type m_bblc2 from menu within m_bblc
  482. event create ( )
  483. event destroy ( )
  484. end type
  485. on m_bblc2.create
  486. call super::create
  487. this.visible = false
  488. this.text = "另存Excel"
  489. this.microhelp = "另存Excel"
  490. this.toolbaritemvisible = false
  491. this.toolbaritemname = "Custom043!"
  492. this.toolbaritemtext = "另存Excel"
  493. this.toolbaritemspace = 1
  494. end on
  495. on m_bblc2.destroy
  496. call super::destroy
  497. end on
  498. event clicked;parentwindow.event dynamic ue_new(0)
  499. end event
  500. type m_bblc0 from menu within m_bblc
  501. event destroy ( )
  502. end type
  503. on m_bblc0.destroy
  504. call super::destroy
  505. end on
  506. on m_bblc0.create
  507. call super::create
  508. this.visible = false
  509. this.text = "报表数据另存"
  510. this.microhelp = "报表数据另存"
  511. this.toolbaritemvisible = false
  512. this.toolbaritemname = "SaveAs!"
  513. this.toolbaritemtext = "报表另存"
  514. this.toolbaritemspace = 1
  515. end on
  516. event clicked;parentwindow.event dynamic ue_save()
  517. end event