m_rp_spt.srm 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. $PBExportHeader$m_rp_spt.srm
  2. forward
  3. global type m_rp_spt from menu
  4. end type
  5. type m_popmenu from menu within m_rp_spt
  6. end type
  7. type m_ from menu within m_popmenu
  8. end type
  9. type m_供应商科目总帐 from menu within m_popmenu
  10. end type
  11. type m_1 from menu within m_popmenu
  12. end type
  13. type m_供应商科目明细帐 from menu within m_popmenu
  14. end type
  15. type m_2 from menu within m_popmenu
  16. end type
  17. type m_供应商科目汇总表 from menu within m_popmenu
  18. end type
  19. type m_popmenu from menu within m_rp_spt
  20. m_ m_
  21. m_供应商科目总帐 m_供应商科目总帐
  22. m_1 m_1
  23. m_供应商科目明细帐 m_供应商科目明细帐
  24. m_2 m_2
  25. m_供应商科目汇总表 m_供应商科目汇总表
  26. end type
  27. global type m_rp_spt from menu
  28. m_popmenu m_popmenu
  29. end type
  30. end forward
  31. global type m_rp_spt from menu
  32. m_popmenu m_popmenu
  33. end type
  34. global m_rp_spt m_rp_spt
  35. on m_rp_spt.create
  36. m_rp_spt=this
  37. call super::create
  38. this.m_popmenu=create m_popmenu
  39. this.Item[UpperBound(this.Item)+1]=this.m_popmenu
  40. end on
  41. on m_rp_spt.destroy
  42. call super::destroy
  43. destroy(this.m_popmenu)
  44. end on
  45. type m_popmenu from menu within m_rp_spt
  46. m_ m_
  47. m_供应商科目总帐 m_供应商科目总帐
  48. m_1 m_1
  49. m_供应商科目明细帐 m_供应商科目明细帐
  50. m_2 m_2
  51. m_供应商科目汇总表 m_供应商科目汇总表
  52. end type
  53. on m_popmenu.create
  54. call super::create
  55. this.text = " "
  56. this.m_=create m_
  57. this.m_供应商科目总帐=create m_供应商科目总帐
  58. this.m_1=create m_1
  59. this.m_供应商科目明细帐=create m_供应商科目明细帐
  60. this.m_2=create m_2
  61. this.m_供应商科目汇总表=create m_供应商科目汇总表
  62. this.Item[UpperBound(this.Item)+1]=this.m_
  63. this.Item[UpperBound(this.Item)+1]=this.m_供应商科目总帐
  64. this.Item[UpperBound(this.Item)+1]=this.m_1
  65. this.Item[UpperBound(this.Item)+1]=this.m_供应商科目明细帐
  66. this.Item[UpperBound(this.Item)+1]=this.m_2
  67. this.Item[UpperBound(this.Item)+1]=this.m_供应商科目汇总表
  68. end on
  69. on m_popmenu.destroy
  70. call super::destroy
  71. destroy(this.m_)
  72. destroy(this.m_供应商科目总帐)
  73. destroy(this.m_1)
  74. destroy(this.m_供应商科目明细帐)
  75. destroy(this.m_2)
  76. destroy(this.m_供应商科目汇总表)
  77. end on
  78. type m_ from menu within m_popmenu
  79. end type
  80. on m_.create
  81. call super::create
  82. this.text = "供应商总帐"
  83. end on
  84. event clicked;f_sys_main(1233)
  85. end event
  86. on m_.destroy
  87. call super::destroy
  88. end on
  89. type m_供应商科目总帐 from menu within m_popmenu
  90. end type
  91. on m_供应商科目总帐.create
  92. call super::create
  93. this.text = "供应商科目总帐"
  94. end on
  95. on m_供应商科目总帐.destroy
  96. call super::destroy
  97. end on
  98. event clicked;f_sys_main(1234)
  99. end event
  100. type m_1 from menu within m_popmenu
  101. end type
  102. on m_1.create
  103. call super::create
  104. this.text = "供应商明细帐"
  105. end on
  106. event clicked;f_sys_main(1235)
  107. end event
  108. on m_1.destroy
  109. call super::destroy
  110. end on
  111. type m_供应商科目明细帐 from menu within m_popmenu
  112. end type
  113. event clicked;f_sys_main(1236)
  114. end event
  115. on m_供应商科目明细帐.create
  116. call super::create
  117. this.text = "供应商科目明细帐"
  118. end on
  119. on m_供应商科目明细帐.destroy
  120. call super::destroy
  121. end on
  122. type m_2 from menu within m_popmenu
  123. end type
  124. on m_2.create
  125. call super::create
  126. this.text = "-"
  127. end on
  128. on m_2.destroy
  129. call super::destroy
  130. end on
  131. type m_供应商科目汇总表 from menu within m_popmenu
  132. end type
  133. event clicked;f_sys_main(1245)
  134. end event
  135. on m_供应商科目汇总表.create
  136. call super::create
  137. this.text = "供应商科目汇总表"
  138. end on
  139. on m_供应商科目汇总表.destroy
  140. call super::destroy
  141. end on