w_packet_msg_edit_fx.srw 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. $PBExportHeader$w_packet_msg_edit_fx.srw
  2. $PBExportComments$用于拒绝packet填写附言
  3. forward
  4. global type w_packet_msg_edit_fx from w_publ_base
  5. end type
  6. type mle_1 from multilineedit within w_packet_msg_edit_fx
  7. end type
  8. end forward
  9. global type w_packet_msg_edit_fx from w_publ_base
  10. string title = "留言板"
  11. boolean minbox = false
  12. windowtype windowtype = response!
  13. long backcolor = 16777215
  14. string icon = "graphics\chain_link_128px.ico"
  15. boolean center = true
  16. mle_1 mle_1
  17. end type
  18. global w_packet_msg_edit_fx w_packet_msg_edit_fx
  19. type variables
  20. s_open_packet s_tran
  21. end variables
  22. on w_packet_msg_edit_fx.create
  23. int iCurrent
  24. call super::create
  25. this.mle_1=create mle_1
  26. iCurrent=UpperBound(this.Control)
  27. this.Control[iCurrent+1]=this.mle_1
  28. end on
  29. on w_packet_msg_edit_fx.destroy
  30. call super::destroy
  31. destroy(this.mle_1)
  32. end on
  33. event open;call super::open;s_tran.returnflag = 0
  34. string msg
  35. msg = Message.StringParm
  36. if not IsNull(msg) then
  37. mle_1.Text = msg
  38. end if
  39. end event
  40. event close;call super::close;closewithreturn(this, s_tran)
  41. end event
  42. type cb_func from w_publ_base`cb_func within w_packet_msg_edit_fx
  43. integer x = 690
  44. integer y = 948
  45. string text = "确定"
  46. end type
  47. event cb_func::clicked;call super::clicked;s_tran.returnflag = 1
  48. s_tran.postscript = mle_1.Text
  49. close(parent)
  50. end event
  51. type cb_exit from w_publ_base`cb_exit within w_packet_msg_edit_fx
  52. integer x = 1006
  53. integer y = 948
  54. end type
  55. type mle_1 from multilineedit within w_packet_msg_edit_fx
  56. integer width = 1998
  57. integer height = 928
  58. integer taborder = 10
  59. boolean bringtotop = true
  60. integer textsize = -9
  61. integer weight = 400
  62. fontcharset fontcharset = gb2312charset!
  63. fontpitch fontpitch = variable!
  64. string facename = "宋体"
  65. long textcolor = 33554432
  66. boolean vscrollbar = true
  67. borderstyle borderstyle = stylelowered!
  68. end type