123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- $PBExportHeader$w_packet_msg_edit_fx.srw
- $PBExportComments$用于拒绝packet填写附言
- forward
- global type w_packet_msg_edit_fx from w_publ_base
- end type
- type mle_1 from multilineedit within w_packet_msg_edit_fx
- end type
- end forward
- global type w_packet_msg_edit_fx from w_publ_base
- string title = "留言板"
- boolean minbox = false
- windowtype windowtype = response!
- long backcolor = 16777215
- string icon = "graphics\chain_link_128px.ico"
- boolean center = true
- mle_1 mle_1
- end type
- global w_packet_msg_edit_fx w_packet_msg_edit_fx
- type variables
- s_open_packet s_tran
- end variables
- on w_packet_msg_edit_fx.create
- int iCurrent
- call super::create
- this.mle_1=create mle_1
- iCurrent=UpperBound(this.Control)
- this.Control[iCurrent+1]=this.mle_1
- end on
- on w_packet_msg_edit_fx.destroy
- call super::destroy
- destroy(this.mle_1)
- end on
- event open;call super::open;s_tran.returnflag = 0
- string msg
- msg = Message.StringParm
- if not IsNull(msg) then
- mle_1.Text = msg
- end if
- end event
- event close;call super::close;closewithreturn(this, s_tran)
- end event
- type cb_func from w_publ_base`cb_func within w_packet_msg_edit_fx
- integer x = 690
- integer y = 948
- string text = "确定"
- end type
- event cb_func::clicked;call super::clicked;s_tran.returnflag = 1
- s_tran.postscript = mle_1.Text
- close(parent)
- end event
- type cb_exit from w_publ_base`cb_exit within w_packet_msg_edit_fx
- integer x = 1006
- integer y = 948
- end type
- type mle_1 from multilineedit within w_packet_msg_edit_fx
- integer width = 1998
- integer height = 928
- integer taborder = 10
- boolean bringtotop = true
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- boolean vscrollbar = true
- borderstyle borderstyle = stylelowered!
- end type
|