w_dscrp_edit_ljfieb.srw 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. $PBExportHeader$w_dscrp_edit_ljfieb.srw
  2. forward
  3. global type w_dscrp_edit_ljfieb from w_publ_base
  4. end type
  5. type st_1 from statictext within w_dscrp_edit_ljfieb
  6. end type
  7. type sle_summary from singlelineedit within w_dscrp_edit_ljfieb
  8. end type
  9. type mle_postscript from multilineedit within w_dscrp_edit_ljfieb
  10. end type
  11. type st_2 from statictext within w_dscrp_edit_ljfieb
  12. end type
  13. type st_3 from statictext within w_dscrp_edit_ljfieb
  14. end type
  15. type mle_remark from multilineedit within w_dscrp_edit_ljfieb
  16. end type
  17. type cb_1 from uo_imflatbutton within w_dscrp_edit_ljfieb
  18. end type
  19. end forward
  20. global type w_dscrp_edit_ljfieb from w_publ_base
  21. integer width = 2373
  22. integer height = 1576
  23. string title = "消息发送"
  24. boolean controlmenu = false
  25. boolean minbox = false
  26. windowtype windowtype = response!
  27. st_1 st_1
  28. sle_summary sle_summary
  29. mle_postscript mle_postscript
  30. st_2 st_2
  31. st_3 st_3
  32. mle_remark mle_remark
  33. cb_1 cb_1
  34. end type
  35. global w_dscrp_edit_ljfieb w_dscrp_edit_ljfieb
  36. type variables
  37. s_packet_ljfieb s_pack,s_return
  38. end variables
  39. on w_dscrp_edit_ljfieb.create
  40. int iCurrent
  41. call super::create
  42. this.st_1=create st_1
  43. this.sle_summary=create sle_summary
  44. this.mle_postscript=create mle_postscript
  45. this.st_2=create st_2
  46. this.st_3=create st_3
  47. this.mle_remark=create mle_remark
  48. this.cb_1=create cb_1
  49. iCurrent=UpperBound(this.Control)
  50. this.Control[iCurrent+1]=this.st_1
  51. this.Control[iCurrent+2]=this.sle_summary
  52. this.Control[iCurrent+3]=this.mle_postscript
  53. this.Control[iCurrent+4]=this.st_2
  54. this.Control[iCurrent+5]=this.st_3
  55. this.Control[iCurrent+6]=this.mle_remark
  56. this.Control[iCurrent+7]=this.cb_1
  57. end on
  58. on w_dscrp_edit_ljfieb.destroy
  59. call super::destroy
  60. destroy(this.st_1)
  61. destroy(this.sle_summary)
  62. destroy(this.mle_postscript)
  63. destroy(this.st_2)
  64. destroy(this.st_3)
  65. destroy(this.mle_remark)
  66. destroy(this.cb_1)
  67. end on
  68. event open;call super::open;s_pack = message.powerobjectparm
  69. //sle_summary.text = s_pack.summary
  70. mle_postscript.text = s_pack.postscript
  71. mle_remark.text = s_pack.remark
  72. mle_postscript.setfocus()
  73. end event
  74. event close;call super::close;closewithreturn(this,s_return)
  75. end event
  76. type cb_func from w_publ_base`cb_func within w_dscrp_edit_ljfieb
  77. boolean visible = false
  78. integer taborder = 30
  79. end type
  80. type cb_exit from w_publ_base`cb_exit within w_dscrp_edit_ljfieb
  81. integer x = 1943
  82. integer y = 1360
  83. string text = "取消"
  84. integer picsize = 16
  85. end type
  86. event cb_exit::clicked;s_return.returnflag = 0
  87. close(parent)
  88. end event
  89. type st_1 from statictext within w_dscrp_edit_ljfieb
  90. boolean visible = false
  91. integer y = 32
  92. integer width = 160
  93. integer height = 48
  94. boolean bringtotop = true
  95. integer textsize = -9
  96. integer weight = 400
  97. fontcharset fontcharset = gb2312charset!
  98. fontpitch fontpitch = variable!
  99. string facename = "宋体"
  100. long textcolor = 33554432
  101. long backcolor = 134217739
  102. string text = "摘要"
  103. alignment alignment = right!
  104. boolean focusrectangle = false
  105. end type
  106. type sle_summary from singlelineedit within w_dscrp_edit_ljfieb
  107. boolean visible = false
  108. integer x = 169
  109. integer y = 28
  110. integer width = 2144
  111. integer height = 84
  112. integer taborder = 60
  113. boolean bringtotop = true
  114. integer textsize = -9
  115. integer weight = 400
  116. fontcharset fontcharset = gb2312charset!
  117. fontpitch fontpitch = variable!
  118. string facename = "宋体"
  119. long textcolor = 33554432
  120. borderstyle borderstyle = stylelowered!
  121. end type
  122. type mle_postscript from multilineedit within w_dscrp_edit_ljfieb
  123. integer x = 174
  124. integer y = 32
  125. integer width = 2139
  126. integer height = 984
  127. integer taborder = 20
  128. boolean bringtotop = true
  129. integer textsize = -9
  130. integer weight = 400
  131. fontcharset fontcharset = gb2312charset!
  132. fontpitch fontpitch = variable!
  133. string facename = "宋体"
  134. long textcolor = 33554432
  135. boolean vscrollbar = true
  136. boolean autovscroll = true
  137. borderstyle borderstyle = stylelowered!
  138. end type
  139. type st_2 from statictext within w_dscrp_edit_ljfieb
  140. integer y = 36
  141. integer width = 160
  142. integer height = 48
  143. boolean bringtotop = true
  144. integer textsize = -9
  145. integer weight = 400
  146. fontcharset fontcharset = gb2312charset!
  147. fontpitch fontpitch = variable!
  148. string facename = "宋体"
  149. long textcolor = 33554432
  150. long backcolor = 134217739
  151. string text = "附言"
  152. alignment alignment = right!
  153. boolean focusrectangle = false
  154. end type
  155. type st_3 from statictext within w_dscrp_edit_ljfieb
  156. integer y = 1040
  157. integer width = 160
  158. integer height = 48
  159. boolean bringtotop = true
  160. integer textsize = -9
  161. integer weight = 400
  162. fontcharset fontcharset = gb2312charset!
  163. fontpitch fontpitch = variable!
  164. string facename = "宋体"
  165. long textcolor = 33554432
  166. long backcolor = 134217739
  167. string text = "备注"
  168. alignment alignment = right!
  169. boolean focusrectangle = false
  170. end type
  171. type mle_remark from multilineedit within w_dscrp_edit_ljfieb
  172. integer x = 178
  173. integer y = 1036
  174. integer width = 2139
  175. integer height = 300
  176. integer taborder = 40
  177. boolean bringtotop = true
  178. integer textsize = -9
  179. integer weight = 400
  180. fontcharset fontcharset = gb2312charset!
  181. fontpitch fontpitch = variable!
  182. string facename = "宋体"
  183. long textcolor = 33554432
  184. boolean vscrollbar = true
  185. boolean autovscroll = true
  186. borderstyle borderstyle = stylelowered!
  187. end type
  188. type cb_1 from uo_imflatbutton within w_dscrp_edit_ljfieb
  189. integer x = 1573
  190. integer y = 1360
  191. integer width = 311
  192. integer height = 96
  193. integer taborder = 50
  194. boolean bringtotop = true
  195. string normalpicname = "save.bmp"
  196. integer picsize = 16
  197. end type
  198. event clicked;call super::clicked;//s_return.summary = sle_summary.text
  199. s_return.postscript = mle_postscript.text
  200. s_return.remark = mle_remark.text
  201. s_return.returnflag = 1
  202. close(parent)
  203. end event