123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- $PBExportHeader$w_view_dscrp_log.srw
- forward
- global type w_view_dscrp_log from w_publ_base
- end type
- type cb_1 from uo_imflatbutton within w_view_dscrp_log
- end type
- type mle_dscrp from multilineedit within w_view_dscrp_log
- end type
- type gb_1 from groupbox within w_view_dscrp_log
- end type
- type st_msg from statictext within w_view_dscrp_log
- end type
- end forward
- global type w_view_dscrp_log from w_publ_base
- integer width = 2286
- integer height = 1632
- string title = ""
- boolean minbox = false
- windowtype windowtype = response!
- cb_1 cb_1
- mle_dscrp mle_dscrp
- gb_1 gb_1
- st_msg st_msg
- end type
- global w_view_dscrp_log w_view_dscrp_log
- type variables
- s_view_dscrp s_view
- end variables
- on w_view_dscrp_log.create
- int iCurrent
- call super::create
- this.cb_1=create cb_1
- this.mle_dscrp=create mle_dscrp
- this.gb_1=create gb_1
- this.st_msg=create st_msg
- iCurrent=UpperBound(this.Control)
- this.Control[iCurrent+1]=this.cb_1
- this.Control[iCurrent+2]=this.mle_dscrp
- this.Control[iCurrent+3]=this.gb_1
- this.Control[iCurrent+4]=this.st_msg
- end on
- on w_view_dscrp_log.destroy
- call super::destroy
- destroy(this.cb_1)
- destroy(this.mle_dscrp)
- destroy(this.gb_1)
- destroy(this.st_msg)
- end on
- event open;call super::open;s_view = Message.PowerObjectParm
- mle_dscrp.Text = s_view.dscrp
- IF not s_view.editmode THEN
- cb_1.Visible = FALSE
- cb_exit.Visible = FALSE
- mle_dscrp.DisplayOnly = TRUE
- THIS.Title = s_view.Title + ' - 查看状态'
- mle_dscrp.height = 1392
- ELSE
- cb_1.Visible = TRUE
- cb_exit.Visible = TRUE
- mle_dscrp.DisplayOnly = FALSE
- THIS.Title = s_view.Title + ' - 编辑状态'
- mle_dscrp.height = 1248
- END IF
- st_msg.text = '已输入' + string(len(mle_dscrp.text)) + '个字节'
- end event
- event close;call super::close;closewithreturn(this,s_view)
- end event
- type cb_func from w_publ_base`cb_func within w_view_dscrp_log
- boolean visible = false
- end type
- type cb_exit from w_publ_base`cb_exit within w_view_dscrp_log
- integer x = 1349
- integer y = 1388
- string text = "取消"
- end type
- type cb_1 from uo_imflatbutton within w_view_dscrp_log
- integer x = 640
- integer y = 1388
- integer width = 311
- integer height = 96
- integer taborder = 20
- boolean bringtotop = true
- string normalpicname = "ok.bmp"
- end type
- event clicked;call super::clicked;IF mle_dscrp.Text <> s_view.dscrp THEN
- s_view.dscrp = mle_dscrp.Text
- END IF
- Close(PARENT)
- end event
- type mle_dscrp from multilineedit within w_view_dscrp_log
- event enchange pbm_enchange
- integer x = 55
- integer y = 104
- integer width = 2176
- integer height = 1248
- integer taborder = 30
- boolean bringtotop = true
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- boolean vscrollbar = true
- boolean autovscroll = true
- integer limit = 2000
- borderstyle borderstyle = stylelowered!
- boolean hideselection = false
- end type
- event enchange;st_msg.text = '已输入' + string( len(this.text)) + '个字节'
- end event
- type gb_1 from groupbox within w_view_dscrp_log
- integer x = 18
- integer width = 2245
- integer height = 1516
- integer taborder = 30
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 134217739
- end type
- type st_msg from statictext within w_view_dscrp_log
- integer x = 59
- integer y = 44
- integer width = 562
- integer height = 48
- boolean bringtotop = true
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 134217739
- boolean focusrectangle = false
- end type
|