m_rpt_main.srm 34 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879
  1. $PBExportHeader$m_rpt_main.srm
  2. $PBExportComments$设计器--菜单
  3. forward
  4. global type m_rpt_main from menu
  5. end type
  6. type m_1 from menucascade within m_rpt_main
  7. end type
  8. type m_text from menu within m_1
  9. end type
  10. type m_edit from menu within m_1
  11. end type
  12. type m_line1 from menu within m_1
  13. end type
  14. type m_line2 from menu within m_1
  15. end type
  16. type m_line3 from menu within m_1
  17. end type
  18. type m_rect from menu within m_1
  19. end type
  20. type m_pict from menu within m_1
  21. end type
  22. type m_blob from menu within m_1
  23. end type
  24. type m_rpt from menu within m_1
  25. end type
  26. type m_graph from menu within m_1
  27. end type
  28. type m_button from menu within m_1
  29. end type
  30. type m_groupbox from menu within m_1
  31. end type
  32. type m_ellipse from menu within m_1
  33. end type
  34. type m_roundrectangle from menu within m_1
  35. end type
  36. type m_1 from menucascade within m_rpt_main
  37. m_text m_text
  38. m_edit m_edit
  39. m_line1 m_line1
  40. m_line2 m_line2
  41. m_line3 m_line3
  42. m_rect m_rect
  43. m_pict m_pict
  44. m_blob m_blob
  45. m_rpt m_rpt
  46. m_graph m_graph
  47. m_button m_button
  48. m_groupbox m_groupbox
  49. m_ellipse m_ellipse
  50. m_roundrectangle m_roundrectangle
  51. end type
  52. type m_2 from menu within m_rpt_main
  53. end type
  54. type m_21 from menu within m_2
  55. end type
  56. type m_-6 from menu within m_2
  57. end type
  58. type m_22 from menu within m_2
  59. end type
  60. type m_23 from menu within m_2
  61. end type
  62. type m_24 from menu within m_2
  63. end type
  64. type m_25 from menu within m_2
  65. end type
  66. type m_26 from menu within m_2
  67. end type
  68. type m_27 from menu within m_2
  69. end type
  70. type m_2 from menu within m_rpt_main
  71. m_21 m_21
  72. m_-6 m_-6
  73. m_22 m_22
  74. m_23 m_23
  75. m_24 m_24
  76. m_25 m_25
  77. m_26 m_26
  78. m_27 m_27
  79. end type
  80. type m_dq from menucascade within m_rpt_main
  81. end type
  82. type m_zdq from menu within m_dq
  83. end type
  84. type m_ydq from menu within m_dq
  85. end type
  86. type m_sdq from menu within m_dq
  87. end type
  88. type m_xdq from menu within m_dq
  89. end type
  90. type m_dk from menu within m_dq
  91. end type
  92. type m_dg from menu within m_dq
  93. end type
  94. type m_dspjj from menu within m_dq
  95. end type
  96. type m_dczjj from menu within m_dq
  97. end type
  98. type m_dq from menucascade within m_rpt_main
  99. m_zdq m_zdq
  100. m_ydq m_ydq
  101. m_sdq m_sdq
  102. m_xdq m_xdq
  103. m_dk m_dk
  104. m_dg m_dg
  105. m_dspjj m_dspjj
  106. m_dczjj m_dczjj
  107. end type
  108. type m_bk from menucascade within m_rpt_main
  109. end type
  110. type m_wbk from menu within m_bk
  111. end type
  112. type m_jxk from menu within m_bk
  113. end type
  114. type m_yyk from menu within m_bk
  115. end type
  116. type m_xhxk from menu within m_bk
  117. end type
  118. type m_3dxa from menu within m_bk
  119. end type
  120. type m_3dst from menu within m_bk
  121. end type
  122. type m_bk from menucascade within m_rpt_main
  123. m_wbk m_wbk
  124. m_jxk m_jxk
  125. m_yyk m_yyk
  126. m_xhxk m_xhxk
  127. m_3dxa m_3dxa
  128. m_3dst m_3dst
  129. end type
  130. type m_xs from menu within m_rpt_main
  131. end type
  132. type m_left from menu within m_xs
  133. end type
  134. type m_center from menu within m_xs
  135. end type
  136. type m_right from menu within m_xs
  137. end type
  138. type m_ct from menu within m_xs
  139. end type
  140. type m_xt from menu within m_xs
  141. end type
  142. type m_xhx from menu within m_xs
  143. end type
  144. type m_xs from menu within m_rpt_main
  145. m_left m_left
  146. m_center m_center
  147. m_right m_right
  148. m_ct m_ct
  149. m_xt m_xt
  150. m_xhx m_xhx
  151. end type
  152. type m_4 from menu within m_rpt_main
  153. end type
  154. type m_ltx from menu within m_4
  155. end type
  156. type m_sj from menu within m_4
  157. end type
  158. type m_ysl from menu within m_4
  159. end type
  160. type m_gxsx from menu within m_4
  161. end type
  162. type m_-h2 from menu within m_4
  163. end type
  164. type m_43 from menu within m_4
  165. end type
  166. type m_-43 from menu within m_4
  167. end type
  168. type m_44 from menu within m_4
  169. end type
  170. type m_4 from menu within m_rpt_main
  171. m_ltx m_ltx
  172. m_sj m_sj
  173. m_ysl m_ysl
  174. m_gxsx m_gxsx
  175. m_-h2 m_-h2
  176. m_43 m_43
  177. m_-43 m_-43
  178. m_44 m_44
  179. end type
  180. type m_3 from menu within m_rpt_main
  181. end type
  182. type m_sep1 from menu within m_3
  183. end type
  184. type m_dxfz from menu within m_3
  185. end type
  186. type m_-gj0 from menu within m_3
  187. end type
  188. type m_sql from menu within m_3
  189. end type
  190. type m_-gj3 from menu within m_3
  191. end type
  192. type m_auto from menu within m_3
  193. end type
  194. type m_-gj2 from menu within m_3
  195. end type
  196. type m_tab from menu within m_3
  197. end type
  198. type m_-gj1 from menu within m_3
  199. end type
  200. type m_saveas from menu within m_3
  201. end type
  202. type m_import from menu within m_3
  203. end type
  204. type m_-gj5 from menu within m_3
  205. end type
  206. type m_51 from menu within m_3
  207. end type
  208. type m_3 from menu within m_rpt_main
  209. m_sep1 m_sep1
  210. m_dxfz m_dxfz
  211. m_-gj0 m_-gj0
  212. m_sql m_sql
  213. m_-gj3 m_-gj3
  214. m_auto m_auto
  215. m_-gj2 m_-gj2
  216. m_tab m_tab
  217. m_-gj1 m_-gj1
  218. m_saveas m_saveas
  219. m_import m_import
  220. m_-gj5 m_-gj5
  221. m_51 m_51
  222. end type
  223. type m_7 from menu within m_rpt_main
  224. end type
  225. type m_71 from menu within m_7
  226. end type
  227. type m_100 from menu within m_7
  228. end type
  229. type m_110 from menu within m_7
  230. end type
  231. type m_-2 from menu within m_7
  232. end type
  233. type m_72 from menu within m_7
  234. end type
  235. type m_-3 from menu within m_7
  236. end type
  237. type m_73 from menu within m_7
  238. end type
  239. type m_7 from menu within m_rpt_main
  240. m_71 m_71
  241. m_100 m_100
  242. m_110 m_110
  243. m_-2 m_-2
  244. m_72 m_72
  245. m_-3 m_-3
  246. m_73 m_73
  247. end type
  248. global type m_rpt_main from menu
  249. m_1 m_1
  250. m_2 m_2
  251. m_dq m_dq
  252. m_bk m_bk
  253. m_xs m_xs
  254. m_4 m_4
  255. m_3 m_3
  256. m_7 m_7
  257. end type
  258. end forward
  259. global type m_rpt_main from menu
  260. m_1 m_1
  261. m_2 m_2
  262. m_dq m_dq
  263. m_bk m_bk
  264. m_xs m_xs
  265. m_4 m_4
  266. m_3 m_3
  267. m_7 m_7
  268. end type
  269. global m_rpt_main m_rpt_main
  270. on m_rpt_main.create
  271. m_rpt_main=this
  272. call super::create
  273. this.m_1=create m_1
  274. this.m_2=create m_2
  275. this.m_dq=create m_dq
  276. this.m_bk=create m_bk
  277. this.m_xs=create m_xs
  278. this.m_4=create m_4
  279. this.m_3=create m_3
  280. this.m_7=create m_7
  281. this.Item[UpperBound(this.Item)+1]=this.m_1
  282. this.Item[UpperBound(this.Item)+1]=this.m_2
  283. this.Item[UpperBound(this.Item)+1]=this.m_dq
  284. this.Item[UpperBound(this.Item)+1]=this.m_bk
  285. this.Item[UpperBound(this.Item)+1]=this.m_xs
  286. this.Item[UpperBound(this.Item)+1]=this.m_4
  287. this.Item[UpperBound(this.Item)+1]=this.m_3
  288. this.Item[UpperBound(this.Item)+1]=this.m_7
  289. end on
  290. on m_rpt_main.destroy
  291. call super::destroy
  292. destroy(this.m_1)
  293. destroy(this.m_2)
  294. destroy(this.m_dq)
  295. destroy(this.m_bk)
  296. destroy(this.m_xs)
  297. destroy(this.m_4)
  298. destroy(this.m_3)
  299. destroy(this.m_7)
  300. end on
  301. type m_1 from menucascade within m_rpt_main
  302. m_text m_text
  303. m_edit m_edit
  304. m_line1 m_line1
  305. m_line2 m_line2
  306. m_line3 m_line3
  307. m_rect m_rect
  308. m_pict m_pict
  309. m_blob m_blob
  310. m_rpt m_rpt
  311. m_graph m_graph
  312. m_button m_button
  313. m_groupbox m_groupbox
  314. m_ellipse m_ellipse
  315. m_roundrectangle m_roundrectangle
  316. end type
  317. on m_1.create
  318. call super::create
  319. this.text = "插入(&I)"
  320. this.columns = 2
  321. this.m_text=create m_text
  322. this.m_edit=create m_edit
  323. this.m_line1=create m_line1
  324. this.m_line2=create m_line2
  325. this.m_line3=create m_line3
  326. this.m_rect=create m_rect
  327. this.m_pict=create m_pict
  328. this.m_blob=create m_blob
  329. this.m_rpt=create m_rpt
  330. this.m_graph=create m_graph
  331. this.m_button=create m_button
  332. this.m_groupbox=create m_groupbox
  333. this.m_ellipse=create m_ellipse
  334. this.m_roundrectangle=create m_roundrectangle
  335. this.Item[UpperBound(this.Item)+1]=this.m_text
  336. this.Item[UpperBound(this.Item)+1]=this.m_edit
  337. this.Item[UpperBound(this.Item)+1]=this.m_line1
  338. this.Item[UpperBound(this.Item)+1]=this.m_line2
  339. this.Item[UpperBound(this.Item)+1]=this.m_line3
  340. this.Item[UpperBound(this.Item)+1]=this.m_rect
  341. this.Item[UpperBound(this.Item)+1]=this.m_pict
  342. this.Item[UpperBound(this.Item)+1]=this.m_blob
  343. this.Item[UpperBound(this.Item)+1]=this.m_rpt
  344. this.Item[UpperBound(this.Item)+1]=this.m_graph
  345. this.Item[UpperBound(this.Item)+1]=this.m_button
  346. this.Item[UpperBound(this.Item)+1]=this.m_groupbox
  347. this.Item[UpperBound(this.Item)+1]=this.m_ellipse
  348. this.Item[UpperBound(this.Item)+1]=this.m_roundrectangle
  349. end on
  350. on m_1.destroy
  351. call super::destroy
  352. destroy(this.m_text)
  353. destroy(this.m_edit)
  354. destroy(this.m_line1)
  355. destroy(this.m_line2)
  356. destroy(this.m_line3)
  357. destroy(this.m_rect)
  358. destroy(this.m_pict)
  359. destroy(this.m_blob)
  360. destroy(this.m_rpt)
  361. destroy(this.m_graph)
  362. destroy(this.m_button)
  363. destroy(this.m_groupbox)
  364. destroy(this.m_ellipse)
  365. destroy(this.m_roundrectangle)
  366. end on
  367. type m_text from menu within m_1
  368. end type
  369. on m_text.create
  370. call super::create
  371. this.text = "文本"
  372. this.toolbaritemname = "StaticText!"
  373. this.toolbaritemtext = "文本"
  374. end on
  375. event clicked;parentwindow.event dynamic ue_toolbar('text',this)
  376. end event
  377. on m_text.destroy
  378. call super::destroy
  379. end on
  380. type m_edit from menu within m_1
  381. end type
  382. on m_edit.create
  383. call super::create
  384. this.text = "表达式"
  385. this.toolbaritemname = "RichTextEdit!"
  386. this.toolbaritemtext = "表达式"
  387. end on
  388. event clicked;parentwindow.event dynamic ue_toolbar('compute',this)
  389. end event
  390. on m_edit.destroy
  391. call super::destroy
  392. end on
  393. type m_line1 from menu within m_1
  394. end type
  395. on m_line1.create
  396. call super::create
  397. this.text = "横线"
  398. this.toolbaritemname = "Line!"
  399. this.toolbaritemtext = "横线"
  400. end on
  401. event clicked;parentwindow.event dynamic ue_toolbar('line1',this)
  402. end event
  403. on m_line1.destroy
  404. call super::destroy
  405. end on
  406. type m_line2 from menu within m_1
  407. end type
  408. on m_line2.create
  409. call super::create
  410. this.text = "竖线"
  411. this.toolbaritemname = "Line!"
  412. this.toolbaritemtext = "竖线"
  413. end on
  414. event clicked;parentwindow.event dynamic ue_toolbar('line2',this)
  415. end event
  416. on m_line2.destroy
  417. call super::destroy
  418. end on
  419. type m_line3 from menu within m_1
  420. end type
  421. on m_line3.create
  422. call super::create
  423. this.text = "斜线"
  424. this.toolbaritemname = "Line!"
  425. this.toolbaritemtext = "斜线"
  426. end on
  427. event clicked;parentwindow.event dynamic ue_toolbar('line3',this)
  428. end event
  429. on m_line3.destroy
  430. call super::destroy
  431. end on
  432. type m_rect from menu within m_1
  433. end type
  434. on m_rect.create
  435. call super::create
  436. this.text = "矩形"
  437. this.toolbaritemname = "Rectangle!"
  438. this.toolbaritemtext = "矩形"
  439. end on
  440. event clicked;parentwindow.event dynamic ue_toolbar('rectangle',this)
  441. end event
  442. on m_rect.destroy
  443. call super::destroy
  444. end on
  445. type m_pict from menu within m_1
  446. end type
  447. on m_pict.create
  448. call super::create
  449. this.text = "图形"
  450. this.toolbaritemname = "Picture5!"
  451. this.toolbaritemtext = "图形"
  452. end on
  453. event clicked;parentwindow.event dynamic ue_toolbar('bitmap',this)
  454. end event
  455. on m_pict.destroy
  456. call super::destroy
  457. end on
  458. type m_blob from menu within m_1
  459. end type
  460. on m_blob.create
  461. call super::create
  462. this.text = "blob列"
  463. this.toolbaritemname = "Ole5!"
  464. this.toolbaritemtext = "blob列"
  465. end on
  466. event clicked;parentwindow.event dynamic ue_toolbar('tableblob',this)
  467. end event
  468. on m_blob.destroy
  469. call super::destroy
  470. end on
  471. type m_rpt from menu within m_1
  472. end type
  473. on m_rpt.create
  474. call super::create
  475. this.text = "嵌套报表"
  476. this.toolbaritemname = "NestedReport!"
  477. this.toolbaritemtext = "嵌套报表"
  478. end on
  479. event clicked;parentwindow.event dynamic ue_toolbar('report',this)
  480. end event
  481. on m_rpt.destroy
  482. call super::destroy
  483. end on
  484. type m_graph from menu within m_1
  485. end type
  486. on m_graph.create
  487. call super::create
  488. this.text = "图表"
  489. this.microhelp = "图表"
  490. this.toolbaritemname = "Graph!"
  491. this.toolbaritemtext = "图表"
  492. end on
  493. event clicked;parentwindow.event dynamic ue_toolbar('graph',this)
  494. end event
  495. on m_graph.destroy
  496. call super::destroy
  497. end on
  498. type m_button from menu within m_1
  499. end type
  500. event clicked;parentwindow.event dynamic ue_toolbar('button',this)
  501. end event
  502. on m_button.create
  503. call super::create
  504. this.text = "按钮"
  505. this.toolbaritemname = "CommandButton!"
  506. this.toolbaritemtext = "按钮"
  507. end on
  508. on m_button.destroy
  509. call super::destroy
  510. end on
  511. type m_groupbox from menu within m_1
  512. end type
  513. event clicked;parentwindow.event dynamic ue_toolbar('groupbox',this)
  514. end event
  515. on m_groupbox.create
  516. call super::create
  517. this.text = "分组框"
  518. this.toolbaritemname = "GroupBox!"
  519. this.toolbaritemtext = "分组框"
  520. end on
  521. on m_groupbox.destroy
  522. call super::destroy
  523. end on
  524. type m_ellipse from menu within m_1
  525. end type
  526. on m_ellipse.create
  527. call super::create
  528. this.text = "椭圆"
  529. this.toolbaritemname = "Oval!"
  530. this.toolbaritemtext = "椭圆"
  531. end on
  532. event clicked;parentwindow.event dynamic ue_toolbar('ellipse',this)
  533. end event
  534. on m_ellipse.destroy
  535. call super::destroy
  536. end on
  537. type m_roundrectangle from menu within m_1
  538. end type
  539. on m_roundrectangle.create
  540. call super::create
  541. this.text = "圆角矩形"
  542. this.toolbaritemname = "RoundRectangle!"
  543. this.toolbaritemtext = "圆角矩形"
  544. end on
  545. event clicked;parentwindow.event dynamic ue_toolbar('roundrectangle',this)
  546. end event
  547. on m_roundrectangle.destroy
  548. call super::destroy
  549. end on
  550. type m_2 from menu within m_rpt_main
  551. m_21 m_21
  552. m_-6 m_-6
  553. m_22 m_22
  554. m_23 m_23
  555. m_24 m_24
  556. m_25 m_25
  557. m_26 m_26
  558. m_27 m_27
  559. end type
  560. on m_2.create
  561. call super::create
  562. this.text = "选择(&S)"
  563. this.m_21=create m_21
  564. this.m_-6=create m_-6
  565. this.m_22=create m_22
  566. this.m_23=create m_23
  567. this.m_24=create m_24
  568. this.m_25=create m_25
  569. this.m_26=create m_26
  570. this.m_27=create m_27
  571. this.Item[UpperBound(this.Item)+1]=this.m_21
  572. this.Item[UpperBound(this.Item)+1]=this.m_-6
  573. this.Item[UpperBound(this.Item)+1]=this.m_22
  574. this.Item[UpperBound(this.Item)+1]=this.m_23
  575. this.Item[UpperBound(this.Item)+1]=this.m_24
  576. this.Item[UpperBound(this.Item)+1]=this.m_25
  577. this.Item[UpperBound(this.Item)+1]=this.m_26
  578. this.Item[UpperBound(this.Item)+1]=this.m_27
  579. end on
  580. on m_2.destroy
  581. call super::destroy
  582. destroy(this.m_21)
  583. destroy(this.m_-6)
  584. destroy(this.m_22)
  585. destroy(this.m_23)
  586. destroy(this.m_24)
  587. destroy(this.m_25)
  588. destroy(this.m_26)
  589. destroy(this.m_27)
  590. end on
  591. type m_21 from menu within m_2
  592. end type
  593. on m_21.create
  594. call super::create
  595. this.text = "全部对象~tCtrl+A"
  596. this.shortcut = 321
  597. end on
  598. event clicked;parentwindow.event dynamic ue_sel_yes('all')
  599. end event
  600. on m_21.destroy
  601. call super::destroy
  602. end on
  603. type m_-6 from menu within m_2
  604. end type
  605. on m_-6.create
  606. call super::create
  607. this.text = "-"
  608. end on
  609. on m_-6.destroy
  610. call super::destroy
  611. end on
  612. type m_22 from menu within m_2
  613. end type
  614. on m_22.create
  615. call super::create
  616. this.text = "全部横线"
  617. end on
  618. event clicked;parentwindow.event dynamic ue_sel_yes('line1')
  619. end event
  620. on m_22.destroy
  621. call super::destroy
  622. end on
  623. type m_23 from menu within m_2
  624. end type
  625. on m_23.create
  626. call super::create
  627. this.text = "全部竖线"
  628. end on
  629. event clicked;parentwindow.event dynamic ue_sel_yes('line2')
  630. end event
  631. on m_23.destroy
  632. call super::destroy
  633. end on
  634. type m_24 from menu within m_2
  635. end type
  636. on m_24.create
  637. call super::create
  638. this.text = "全部斜线"
  639. end on
  640. event clicked;parentwindow.event dynamic ue_sel_yes('line3')
  641. end event
  642. on m_24.destroy
  643. call super::destroy
  644. end on
  645. type m_25 from menu within m_2
  646. end type
  647. on m_25.create
  648. call super::create
  649. this.text = "全部文本"
  650. end on
  651. event clicked;parentwindow.event dynamic ue_sel_yes('text')
  652. end event
  653. on m_25.destroy
  654. call super::destroy
  655. end on
  656. type m_26 from menu within m_2
  657. end type
  658. on m_26.create
  659. call super::create
  660. this.text = "全部表达式"
  661. end on
  662. event clicked;parentwindow.event dynamic ue_sel_yes('column,compute')
  663. end event
  664. on m_26.destroy
  665. call super::destroy
  666. end on
  667. type m_27 from menu within m_2
  668. end type
  669. on m_27.create
  670. call super::create
  671. this.text = "全部矩形"
  672. end on
  673. event clicked;parentwindow.event dynamic ue_sel_yes('rectangle')
  674. end event
  675. on m_27.destroy
  676. call super::destroy
  677. end on
  678. type m_dq from menucascade within m_rpt_main
  679. m_zdq m_zdq
  680. m_ydq m_ydq
  681. m_sdq m_sdq
  682. m_xdq m_xdq
  683. m_dk m_dk
  684. m_dg m_dg
  685. m_dspjj m_dspjj
  686. m_dczjj m_dczjj
  687. end type
  688. on m_dq.create
  689. call super::create
  690. this.text = "对齐(&A)"
  691. this.columns = 2
  692. this.m_zdq=create m_zdq
  693. this.m_ydq=create m_ydq
  694. this.m_sdq=create m_sdq
  695. this.m_xdq=create m_xdq
  696. this.m_dk=create m_dk
  697. this.m_dg=create m_dg
  698. this.m_dspjj=create m_dspjj
  699. this.m_dczjj=create m_dczjj
  700. this.Item[UpperBound(this.Item)+1]=this.m_zdq
  701. this.Item[UpperBound(this.Item)+1]=this.m_ydq
  702. this.Item[UpperBound(this.Item)+1]=this.m_sdq
  703. this.Item[UpperBound(this.Item)+1]=this.m_xdq
  704. this.Item[UpperBound(this.Item)+1]=this.m_dk
  705. this.Item[UpperBound(this.Item)+1]=this.m_dg
  706. this.Item[UpperBound(this.Item)+1]=this.m_dspjj
  707. this.Item[UpperBound(this.Item)+1]=this.m_dczjj
  708. end on
  709. on m_dq.destroy
  710. call super::destroy
  711. destroy(this.m_zdq)
  712. destroy(this.m_ydq)
  713. destroy(this.m_sdq)
  714. destroy(this.m_xdq)
  715. destroy(this.m_dk)
  716. destroy(this.m_dg)
  717. destroy(this.m_dspjj)
  718. destroy(this.m_dczjj)
  719. end on
  720. type m_zdq from menu within m_dq
  721. end type
  722. on m_zdq.create
  723. call super::create
  724. this.text = "左对齐"
  725. this.toolbaritemname = "AlignLeft!"
  726. this.toolbaritemtext = "左对齐"
  727. this.toolbaritemspace = 1
  728. end on
  729. event clicked;parentwindow.event dynamic ue_allposition('left')
  730. end event
  731. on m_zdq.destroy
  732. call super::destroy
  733. end on
  734. type m_ydq from menu within m_dq
  735. end type
  736. on m_ydq.create
  737. call super::create
  738. this.text = "右对齐"
  739. this.toolbaritemname = "AlignRight!"
  740. this.toolbaritemtext = "右对齐"
  741. end on
  742. event clicked;parentwindow.event dynamic ue_allposition('right')
  743. end event
  744. on m_ydq.destroy
  745. call super::destroy
  746. end on
  747. type m_sdq from menu within m_dq
  748. end type
  749. on m_sdq.create
  750. call super::create
  751. this.text = "上对齐"
  752. this.toolbaritemname = "AlignTop!"
  753. this.toolbaritemtext = "上对齐"
  754. end on
  755. event clicked;parentwindow.event dynamic ue_allposition('up')
  756. end event
  757. on m_sdq.destroy
  758. call super::destroy
  759. end on
  760. type m_xdq from menu within m_dq
  761. end type
  762. on m_xdq.create
  763. call super::create
  764. this.text = "下对齐"
  765. this.toolbaritemname = "AlignBottom!"
  766. this.toolbaritemtext = "下对齐"
  767. end on
  768. event clicked;parentwindow.event dynamic ue_allposition('down')
  769. end event
  770. on m_xdq.destroy
  771. call super::destroy
  772. end on
  773. type m_dk from menu within m_dq
  774. end type
  775. on m_dk.create
  776. call super::create
  777. this.text = "等宽"
  778. this.toolbaritemname = "SizeHorizontal!"
  779. this.toolbaritemtext = "等宽"
  780. end on
  781. event clicked;parentwindow.event dynamic ue_allposition('width')
  782. end event
  783. on m_dk.destroy
  784. call super::destroy
  785. end on
  786. type m_dg from menu within m_dq
  787. end type
  788. on m_dg.create
  789. call super::create
  790. this.text = "等高"
  791. this.toolbaritemname = "SizeVertical!"
  792. this.toolbaritemtext = "等高"
  793. end on
  794. event clicked;parentwindow.event dynamic ue_allposition('height')
  795. end event
  796. on m_dg.destroy
  797. call super::destroy
  798. end on
  799. type m_dspjj from menu within m_dq
  800. end type
  801. on m_dspjj.create
  802. call super::create
  803. this.text = "等水平间距"
  804. this.toolbaritemname = "SpaceHorizontal!"
  805. this.toolbaritemtext = "等水平间距"
  806. end on
  807. event clicked;parentwindow.event dynamic ue_allposition('space-x')
  808. end event
  809. on m_dspjj.destroy
  810. call super::destroy
  811. end on
  812. type m_dczjj from menu within m_dq
  813. end type
  814. on m_dczjj.create
  815. call super::create
  816. this.text = "等垂直间距"
  817. this.toolbaritemname = "SpaceVertical!"
  818. this.toolbaritemtext = "等垂直间距"
  819. end on
  820. event clicked;parentwindow.event dynamic ue_allposition('space-y')
  821. end event
  822. on m_dczjj.destroy
  823. call super::destroy
  824. end on
  825. type m_bk from menucascade within m_rpt_main
  826. m_wbk m_wbk
  827. m_jxk m_jxk
  828. m_yyk m_yyk
  829. m_xhxk m_xhxk
  830. m_3dxa m_3dxa
  831. m_3dst m_3dst
  832. end type
  833. on m_bk.create
  834. call super::create
  835. this.text = "边框(&B)"
  836. this.m_wbk=create m_wbk
  837. this.m_jxk=create m_jxk
  838. this.m_yyk=create m_yyk
  839. this.m_xhxk=create m_xhxk
  840. this.m_3dxa=create m_3dxa
  841. this.m_3dst=create m_3dst
  842. this.Item[UpperBound(this.Item)+1]=this.m_wbk
  843. this.Item[UpperBound(this.Item)+1]=this.m_jxk
  844. this.Item[UpperBound(this.Item)+1]=this.m_yyk
  845. this.Item[UpperBound(this.Item)+1]=this.m_xhxk
  846. this.Item[UpperBound(this.Item)+1]=this.m_3dxa
  847. this.Item[UpperBound(this.Item)+1]=this.m_3dst
  848. end on
  849. on m_bk.destroy
  850. call super::destroy
  851. destroy(this.m_wbk)
  852. destroy(this.m_jxk)
  853. destroy(this.m_yyk)
  854. destroy(this.m_xhxk)
  855. destroy(this.m_3dxa)
  856. destroy(this.m_3dst)
  857. end on
  858. type m_wbk from menu within m_bk
  859. end type
  860. on m_wbk.create
  861. call super::create
  862. this.text = "无边框"
  863. this.toolbaritemname = "BorderNone!"
  864. this.toolbaritemtext = "无边框"
  865. this.toolbaritemspace = 1
  866. end on
  867. event clicked;//m_wbk.barindex=0
  868. //m_jxk.checked=false
  869. //m_yyk.checked=false
  870. //m_xhxk.checked=false
  871. //m_3dxa.checked=false
  872. //m_3dst.checked=false
  873. //checked=true
  874. parentwindow.function dynamic wf_allset('border','0')
  875. //m_wbk.checked=false
  876. //m_jxk.checked=false
  877. //m_yyk.checked=false
  878. //m_xhxk.checked=false
  879. //m_3dxa.checked=false
  880. //m_3dst.checked=false
  881. //checked=true
  882. end event
  883. on m_wbk.destroy
  884. call super::destroy
  885. end on
  886. type m_jxk from menu within m_bk
  887. end type
  888. on m_jxk.create
  889. call super::create
  890. this.text = "矩形框"
  891. this.toolbaritemname = "BorderBox!"
  892. this.toolbaritemtext = "矩形框"
  893. end on
  894. event clicked;parentwindow.function dynamic wf_allset('border','2')
  895. end event
  896. on m_jxk.destroy
  897. call super::destroy
  898. end on
  899. type m_yyk from menu within m_bk
  900. end type
  901. on m_yyk.create
  902. call super::create
  903. this.text = "阴影框"
  904. this.toolbaritemname = "BorderShadowBox!"
  905. this.toolbaritemtext = "阴影框"
  906. end on
  907. event clicked;parentwindow.function dynamic wf_allset('border','1')
  908. end event
  909. on m_yyk.destroy
  910. call super::destroy
  911. end on
  912. type m_xhxk from menu within m_bk
  913. end type
  914. on m_xhxk.create
  915. call super::create
  916. this.text = "下划线"
  917. this.toolbaritemname = "BorderUnderline!"
  918. this.toolbaritemtext = "下划线"
  919. end on
  920. event clicked;parentwindow.function dynamic wf_allset('border','4')
  921. end event
  922. on m_xhxk.destroy
  923. call super::destroy
  924. end on
  925. type m_3dxa from menu within m_bk
  926. end type
  927. on m_3dxa.create
  928. call super::create
  929. this.text = "3D下凹"
  930. this.toolbaritemname = "Border3DLowered!"
  931. this.toolbaritemtext = "3D下凹"
  932. end on
  933. event clicked;parentwindow.function dynamic wf_allset('border','5')
  934. end event
  935. on m_3dxa.destroy
  936. call super::destroy
  937. end on
  938. type m_3dst from menu within m_bk
  939. end type
  940. on m_3dst.create
  941. call super::create
  942. this.text = "3D上凸"
  943. this.toolbaritemname = "Border3DRaised!"
  944. this.toolbaritemtext = "3D上凸"
  945. end on
  946. event clicked;parentwindow.function dynamic wf_allset('border','6')
  947. end event
  948. on m_3dst.destroy
  949. call super::destroy
  950. end on
  951. type m_xs from menu within m_rpt_main
  952. m_left m_left
  953. m_center m_center
  954. m_right m_right
  955. m_ct m_ct
  956. m_xt m_xt
  957. m_xhx m_xhx
  958. end type
  959. on m_xs.create
  960. call super::create
  961. this.text = "显示(&X)"
  962. this.m_left=create m_left
  963. this.m_center=create m_center
  964. this.m_right=create m_right
  965. this.m_ct=create m_ct
  966. this.m_xt=create m_xt
  967. this.m_xhx=create m_xhx
  968. this.Item[UpperBound(this.Item)+1]=this.m_left
  969. this.Item[UpperBound(this.Item)+1]=this.m_center
  970. this.Item[UpperBound(this.Item)+1]=this.m_right
  971. this.Item[UpperBound(this.Item)+1]=this.m_ct
  972. this.Item[UpperBound(this.Item)+1]=this.m_xt
  973. this.Item[UpperBound(this.Item)+1]=this.m_xhx
  974. end on
  975. on m_xs.destroy
  976. call super::destroy
  977. destroy(this.m_left)
  978. destroy(this.m_center)
  979. destroy(this.m_right)
  980. destroy(this.m_ct)
  981. destroy(this.m_xt)
  982. destroy(this.m_xhx)
  983. end on
  984. type m_left from menu within m_xs
  985. end type
  986. event clicked;m_left.checked=false
  987. m_center.checked=false
  988. m_right.checked=false
  989. checked=true
  990. parentwindow.function dynamic wf_allset('align','0')
  991. end event
  992. on m_left.create
  993. call super::create
  994. this.text = "居左"
  995. this.toolbaritemname = "Left!"
  996. this.toolbaritemtext = "居左"
  997. this.toolbaritemspace = 1
  998. end on
  999. on m_left.destroy
  1000. call super::destroy
  1001. end on
  1002. type m_center from menu within m_xs
  1003. end type
  1004. event clicked;m_left.checked=false
  1005. m_center.checked=false
  1006. m_right.checked=false
  1007. checked=true
  1008. parentwindow.function dynamic wf_allset('align','2')
  1009. end event
  1010. on m_center.create
  1011. call super::create
  1012. this.text = "居中"
  1013. this.toolbaritemname = "Center!"
  1014. this.toolbaritemtext = "居中"
  1015. end on
  1016. on m_center.destroy
  1017. call super::destroy
  1018. end on
  1019. type m_right from menu within m_xs
  1020. end type
  1021. event clicked;m_left.checked=false
  1022. m_center.checked=false
  1023. m_right.checked=false
  1024. checked=true
  1025. parentwindow.function dynamic wf_allset('align','1')
  1026. end event
  1027. on m_right.create
  1028. call super::create
  1029. this.text = "居右"
  1030. this.toolbaritemname = "Right!"
  1031. this.toolbaritemtext = "居右"
  1032. end on
  1033. on m_right.destroy
  1034. call super::destroy
  1035. end on
  1036. type m_ct from menu within m_xs
  1037. end type
  1038. event clicked;if checked=true then
  1039. checked=false
  1040. parentwindow.function dynamic wf_allset('weight','400')
  1041. else
  1042. checked=true
  1043. parentwindow.function dynamic wf_allset('weight','700')
  1044. end if
  1045. end event
  1046. on m_ct.create
  1047. call super::create
  1048. this.text = "粗体"
  1049. this.toolbaritemname = "Bold!"
  1050. this.toolbaritemtext = "粗体"
  1051. end on
  1052. on m_ct.destroy
  1053. call super::destroy
  1054. end on
  1055. type m_xt from menu within m_xs
  1056. end type
  1057. event clicked;if checked=true then
  1058. checked=false
  1059. parentwindow.function dynamic wf_allset('italic','0')
  1060. else
  1061. checked=true
  1062. parentwindow.function dynamic wf_allset('italic','1')
  1063. end if
  1064. end event
  1065. on m_xt.create
  1066. call super::create
  1067. this.text = "斜体"
  1068. this.toolbaritemname = "Italic!"
  1069. this.toolbaritemtext = "斜体"
  1070. end on
  1071. on m_xt.destroy
  1072. call super::destroy
  1073. end on
  1074. type m_xhx from menu within m_xs
  1075. end type
  1076. event clicked;if checked=true then
  1077. checked=false
  1078. parentwindow.function dynamic wf_allset('underline','0')
  1079. else
  1080. checked=true
  1081. parentwindow.function dynamic wf_allset('underline','1')
  1082. end if
  1083. end event
  1084. on m_xhx.create
  1085. call super::create
  1086. this.text = "下划线"
  1087. this.toolbaritemname = "Underline!"
  1088. this.toolbaritemtext = "下划线"
  1089. end on
  1090. on m_xhx.destroy
  1091. call super::destroy
  1092. end on
  1093. type m_4 from menu within m_rpt_main
  1094. m_ltx m_ltx
  1095. m_sj m_sj
  1096. m_ysl m_ysl
  1097. m_gxsx m_gxsx
  1098. m_-h2 m_-h2
  1099. m_43 m_43
  1100. m_-43 m_-43
  1101. m_44 m_44
  1102. end type
  1103. on m_4.create
  1104. call super::create
  1105. this.text = "行(&R)"
  1106. this.m_ltx=create m_ltx
  1107. this.m_sj=create m_sj
  1108. this.m_ysl=create m_ysl
  1109. this.m_gxsx=create m_gxsx
  1110. this.m_-h2=create m_-h2
  1111. this.m_43=create m_43
  1112. this.m_-43=create m_-43
  1113. this.m_44=create m_44
  1114. this.Item[UpperBound(this.Item)+1]=this.m_ltx
  1115. this.Item[UpperBound(this.Item)+1]=this.m_sj
  1116. this.Item[UpperBound(this.Item)+1]=this.m_ysl
  1117. this.Item[UpperBound(this.Item)+1]=this.m_gxsx
  1118. this.Item[UpperBound(this.Item)+1]=this.m_-h2
  1119. this.Item[UpperBound(this.Item)+1]=this.m_43
  1120. this.Item[UpperBound(this.Item)+1]=this.m_-43
  1121. this.Item[UpperBound(this.Item)+1]=this.m_44
  1122. end on
  1123. on m_4.destroy
  1124. call super::destroy
  1125. destroy(this.m_ltx)
  1126. destroy(this.m_sj)
  1127. destroy(this.m_ysl)
  1128. destroy(this.m_gxsx)
  1129. destroy(this.m_-h2)
  1130. destroy(this.m_43)
  1131. destroy(this.m_-43)
  1132. destroy(this.m_44)
  1133. end on
  1134. type m_ltx from menu within m_4
  1135. end type
  1136. on m_ltx.create
  1137. call super::create
  1138. this.text = "列特性"
  1139. end on
  1140. event clicked;open(w_rpt_colp)
  1141. end event
  1142. on m_ltx.destroy
  1143. call super::destroy
  1144. end on
  1145. type m_sj from menu within m_4
  1146. end type
  1147. on m_sj.create
  1148. call super::create
  1149. this.text = "数据(data)"
  1150. end on
  1151. event clicked;open(w_rpt_data)
  1152. end event
  1153. on m_sj.destroy
  1154. call super::destroy
  1155. end on
  1156. type m_ysl from menu within m_4
  1157. end type
  1158. on m_ysl.create
  1159. call super::create
  1160. this.text = "压缩列"
  1161. end on
  1162. event clicked;openwithparm(w_rpt_groupc,2)
  1163. end event
  1164. on m_ysl.destroy
  1165. call super::destroy
  1166. end on
  1167. type m_gxsx from menu within m_4
  1168. end type
  1169. on m_gxsx.create
  1170. call super::create
  1171. this.text = "更新属性"
  1172. end on
  1173. event clicked;open(w_rpt_update)
  1174. end event
  1175. on m_gxsx.destroy
  1176. call super::destroy
  1177. end on
  1178. type m_-h2 from menu within m_4
  1179. end type
  1180. on m_-h2.create
  1181. call super::create
  1182. this.text = "-"
  1183. end on
  1184. on m_-h2.destroy
  1185. call super::destroy
  1186. end on
  1187. type m_43 from menu within m_4
  1188. end type
  1189. event clicked;parentwindow.event dynamic ue_insertgroup()
  1190. end event
  1191. on m_43.create
  1192. call super::create
  1193. this.text = "增加分组区"
  1194. end on
  1195. on m_43.destroy
  1196. call super::destroy
  1197. end on
  1198. type m_-43 from menu within m_4
  1199. end type
  1200. on m_-43.create
  1201. call super::create
  1202. this.text = "-"
  1203. end on
  1204. on m_-43.destroy
  1205. call super::destroy
  1206. end on
  1207. type m_44 from menu within m_4
  1208. end type
  1209. event clicked;parentwindow.event dynamic ue_deletegroup()
  1210. end event
  1211. on m_44.create
  1212. call super::create
  1213. this.text = "删除分组区"
  1214. end on
  1215. on m_44.destroy
  1216. call super::destroy
  1217. end on
  1218. type m_3 from menu within m_rpt_main
  1219. m_sep1 m_sep1
  1220. m_dxfz m_dxfz
  1221. m_-gj0 m_-gj0
  1222. m_sql m_sql
  1223. m_-gj3 m_-gj3
  1224. m_auto m_auto
  1225. m_-gj2 m_-gj2
  1226. m_tab m_tab
  1227. m_-gj1 m_-gj1
  1228. m_saveas m_saveas
  1229. m_import m_import
  1230. m_-gj5 m_-gj5
  1231. m_51 m_51
  1232. end type
  1233. on m_3.create
  1234. call super::create
  1235. this.text = "工具(&T)"
  1236. this.m_sep1=create m_sep1
  1237. this.m_dxfz=create m_dxfz
  1238. this.m_-gj0=create m_-gj0
  1239. this.m_sql=create m_sql
  1240. this.m_-gj3=create m_-gj3
  1241. this.m_auto=create m_auto
  1242. this.m_-gj2=create m_-gj2
  1243. this.m_tab=create m_tab
  1244. this.m_-gj1=create m_-gj1
  1245. this.m_saveas=create m_saveas
  1246. this.m_import=create m_import
  1247. this.m_-gj5=create m_-gj5
  1248. this.m_51=create m_51
  1249. this.Item[UpperBound(this.Item)+1]=this.m_sep1
  1250. this.Item[UpperBound(this.Item)+1]=this.m_dxfz
  1251. this.Item[UpperBound(this.Item)+1]=this.m_-gj0
  1252. this.Item[UpperBound(this.Item)+1]=this.m_sql
  1253. this.Item[UpperBound(this.Item)+1]=this.m_-gj3
  1254. this.Item[UpperBound(this.Item)+1]=this.m_auto
  1255. this.Item[UpperBound(this.Item)+1]=this.m_-gj2
  1256. this.Item[UpperBound(this.Item)+1]=this.m_tab
  1257. this.Item[UpperBound(this.Item)+1]=this.m_-gj1
  1258. this.Item[UpperBound(this.Item)+1]=this.m_saveas
  1259. this.Item[UpperBound(this.Item)+1]=this.m_import
  1260. this.Item[UpperBound(this.Item)+1]=this.m_-gj5
  1261. this.Item[UpperBound(this.Item)+1]=this.m_51
  1262. end on
  1263. on m_3.destroy
  1264. call super::destroy
  1265. destroy(this.m_sep1)
  1266. destroy(this.m_dxfz)
  1267. destroy(this.m_-gj0)
  1268. destroy(this.m_sql)
  1269. destroy(this.m_-gj3)
  1270. destroy(this.m_auto)
  1271. destroy(this.m_-gj2)
  1272. destroy(this.m_tab)
  1273. destroy(this.m_-gj1)
  1274. destroy(this.m_saveas)
  1275. destroy(this.m_import)
  1276. destroy(this.m_-gj5)
  1277. destroy(this.m_51)
  1278. end on
  1279. type m_sep1 from menu within m_3
  1280. end type
  1281. event clicked;parentwindow.event dynamic ue_toolbar('sep1',this)
  1282. end event
  1283. on m_sep1.create
  1284. call super::create
  1285. this.text = "垂直分割"
  1286. this.toolbaritemname = "Tile!"
  1287. this.toolbaritemtext = "垂直分割"
  1288. this.toolbaritemspace = 1
  1289. end on
  1290. on m_sep1.destroy
  1291. call super::destroy
  1292. end on
  1293. type m_dxfz from menu within m_3
  1294. end type
  1295. on m_dxfz.create
  1296. call super::create
  1297. this.text = "对象复制~tCtrl+T"
  1298. this.shortcut = 340
  1299. this.toolbaritemname = "copy!"
  1300. this.toolbaritemtext = "对象复制"
  1301. this.toolbaritemspace = 1
  1302. end on
  1303. event clicked;parentwindow.event dynamic ue_copy()
  1304. end event
  1305. on m_dxfz.destroy
  1306. call super::destroy
  1307. end on
  1308. type m_-gj0 from menu within m_3
  1309. end type
  1310. on m_-gj0.create
  1311. call super::create
  1312. this.text = "-"
  1313. end on
  1314. on m_-gj0.destroy
  1315. call super::destroy
  1316. end on
  1317. type m_sql from menu within m_3
  1318. end type
  1319. event clicked;parentwindow.event dynamic ue_datasource()
  1320. end event
  1321. on m_sql.create
  1322. call super::create
  1323. this.text = "设置数据源"
  1324. this.toolbaritemname = "SQL!"
  1325. this.toolbaritemtext = "数据源"
  1326. this.toolbaritemspace = 1
  1327. end on
  1328. on m_sql.destroy
  1329. call super::destroy
  1330. end on
  1331. type m_-gj3 from menu within m_3
  1332. end type
  1333. on m_-gj3.create
  1334. call super::create
  1335. this.text = "-"
  1336. end on
  1337. on m_-gj3.destroy
  1338. call super::destroy
  1339. end on
  1340. type m_auto from menu within m_3
  1341. end type
  1342. on m_auto.create
  1343. call super::create
  1344. this.text = "自动生成对象"
  1345. this.toolbaritemname = "Regenerate5!"
  1346. this.toolbaritemtext = "自动生成对象"
  1347. this.toolbaritemspace = 1
  1348. end on
  1349. event clicked;parentwindow.event dynamic ue_auto()
  1350. end event
  1351. on m_auto.destroy
  1352. call super::destroy
  1353. end on
  1354. type m_-gj2 from menu within m_3
  1355. end type
  1356. on m_-gj2.create
  1357. call super::create
  1358. this.text = "-"
  1359. end on
  1360. on m_-gj2.destroy
  1361. call super::destroy
  1362. end on
  1363. type m_tab from menu within m_3
  1364. end type
  1365. on m_tab.create
  1366. call super::create
  1367. this.text = "设置Tab Order"
  1368. this.toolbaritemname = "TabOrder!"
  1369. this.toolbaritemtext = "设置Tab Order"
  1370. this.toolbaritemspace = 1
  1371. end on
  1372. event clicked;//parentwindow.event dynamic ue_taborder()
  1373. parentwindow.event dynamic ue_toolbar('taborder',this)
  1374. end event
  1375. on m_tab.destroy
  1376. call super::destroy
  1377. end on
  1378. type m_-gj1 from menu within m_3
  1379. end type
  1380. on m_-gj1.create
  1381. call super::create
  1382. this.text = "-"
  1383. end on
  1384. on m_-gj1.destroy
  1385. call super::destroy
  1386. end on
  1387. type m_saveas from menu within m_3
  1388. end type
  1389. on m_saveas.create
  1390. call super::create
  1391. this.text = "导出数据窗口"
  1392. this.toolbaritemname = "Library!"
  1393. this.toolbaritemtext = "语法另存为dw"
  1394. this.toolbaritemspace = 1
  1395. end on
  1396. event clicked;//open(w_report_export)
  1397. parentwindow.function dynamic wf_libexport()
  1398. end event
  1399. on m_saveas.destroy
  1400. call super::destroy
  1401. end on
  1402. type m_import from menu within m_3
  1403. end type
  1404. on m_import.create
  1405. call super::create
  1406. this.text = "导入数据窗口"
  1407. this.toolbaritemname = "Import5!"
  1408. this.toolbaritemtext = "从外部dw引入语法"
  1409. this.toolbaritemspace = 1
  1410. end on
  1411. event clicked;parentwindow.function dynamic wf_libimport()
  1412. end event
  1413. on m_import.destroy
  1414. call super::destroy
  1415. end on
  1416. type m_-gj5 from menu within m_3
  1417. end type
  1418. on m_-gj5.create
  1419. call super::create
  1420. this.text = "-"
  1421. end on
  1422. on m_-gj5.destroy
  1423. call super::destroy
  1424. end on
  1425. type m_51 from menu within m_3
  1426. end type
  1427. on m_51.create
  1428. call super::create
  1429. this.text = "预览"
  1430. this.toolbaritemname = "EditDataGrid!"
  1431. this.toolbaritemtext = "预览"
  1432. this.toolbaritemspace = 1
  1433. end on
  1434. event clicked;parentwindow.event dynamic ue_dw2_sort()
  1435. parentwindow.event dynamic ue_preview()
  1436. end event
  1437. on m_51.destroy
  1438. call super::destroy
  1439. end on
  1440. type m_7 from menu within m_rpt_main
  1441. m_71 m_71
  1442. m_100 m_100
  1443. m_110 m_110
  1444. m_-2 m_-2
  1445. m_72 m_72
  1446. m_-3 m_-3
  1447. m_73 m_73
  1448. end type
  1449. on m_7.create
  1450. call super::create
  1451. this.text = "系统(&H)"
  1452. this.m_71=create m_71
  1453. this.m_100=create m_100
  1454. this.m_110=create m_110
  1455. this.m_-2=create m_-2
  1456. this.m_72=create m_72
  1457. this.m_-3=create m_-3
  1458. this.m_73=create m_73
  1459. this.Item[UpperBound(this.Item)+1]=this.m_71
  1460. this.Item[UpperBound(this.Item)+1]=this.m_100
  1461. this.Item[UpperBound(this.Item)+1]=this.m_110
  1462. this.Item[UpperBound(this.Item)+1]=this.m_-2
  1463. this.Item[UpperBound(this.Item)+1]=this.m_72
  1464. this.Item[UpperBound(this.Item)+1]=this.m_-3
  1465. this.Item[UpperBound(this.Item)+1]=this.m_73
  1466. end on
  1467. on m_7.destroy
  1468. call super::destroy
  1469. destroy(this.m_71)
  1470. destroy(this.m_100)
  1471. destroy(this.m_110)
  1472. destroy(this.m_-2)
  1473. destroy(this.m_72)
  1474. destroy(this.m_-3)
  1475. destroy(this.m_73)
  1476. end on
  1477. type m_71 from menu within m_7
  1478. end type
  1479. event clicked;parentwindow.event dynamic ue_save()
  1480. end event
  1481. on m_71.create
  1482. call super::create
  1483. this.text = "保存"
  1484. this.toolbaritemname = "Save!"
  1485. this.toolbaritemtext = "保存"
  1486. this.toolbaritemspace = 1
  1487. end on
  1488. on m_71.destroy
  1489. call super::destroy
  1490. end on
  1491. type m_100 from menu within m_7
  1492. end type
  1493. on m_100.create
  1494. call super::create
  1495. this.text = "上传"
  1496. this.toolbaritemname = "Custom033!"
  1497. this.toolbaritemtext = "上传"
  1498. this.toolbaritemspace = 1
  1499. end on
  1500. on m_100.destroy
  1501. call super::destroy
  1502. end on
  1503. event clicked;parentwindow.event dynamic ue_upload()
  1504. end event
  1505. type m_110 from menu within m_7
  1506. end type
  1507. on m_110.create
  1508. call super::create
  1509. this.text = "保存并上传"
  1510. this.toolbaritemname = "Custom038!"
  1511. this.toolbaritemtext = "保存并上传"
  1512. end on
  1513. on m_110.destroy
  1514. call super::destroy
  1515. end on
  1516. event clicked;parentwindow.event dynamic ue_saveupload()
  1517. end event
  1518. type m_-2 from menu within m_7
  1519. end type
  1520. on m_-2.create
  1521. call super::create
  1522. this.text = "-"
  1523. end on
  1524. on m_-2.destroy
  1525. call super::destroy
  1526. end on
  1527. type m_72 from menu within m_7
  1528. end type
  1529. on m_72.create
  1530. call super::create
  1531. this.text = "帮助~tF1"
  1532. this.shortcut = 112
  1533. this.toolbaritemname = "Help!"
  1534. this.toolbaritemtext = "帮助"
  1535. this.toolbaritemspace = 1
  1536. end on
  1537. event clicked;Int i
  1538. i = htmlhelpA(Handle(THIS), sys_help_chm, 0, "自定义单据打印格式")
  1539. end event
  1540. on m_72.destroy
  1541. call super::destroy
  1542. end on
  1543. type m_-3 from menu within m_7
  1544. end type
  1545. on m_-3.create
  1546. call super::create
  1547. this.text = "-"
  1548. end on
  1549. on m_-3.destroy
  1550. call super::destroy
  1551. end on
  1552. type m_73 from menu within m_7
  1553. end type
  1554. on m_73.create
  1555. call super::create
  1556. this.text = "退出"
  1557. this.toolbaritemname = "Exit!"
  1558. this.toolbaritemtext = "退出"
  1559. this.toolbaritemspace = 1
  1560. end on
  1561. event clicked;close(parentwindow)
  1562. end event
  1563. on m_73.destroy
  1564. call super::destroy
  1565. end on