123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- $PBExportHeader$w_super_id.srw
- forward
- global type w_super_id from w_publ_base
- end type
- type sle_pass from singlelineedit within w_super_id
- end type
- type cb_1 from uo_imflatbutton within w_super_id
- end type
- type st_1 from statictext within w_super_id
- end type
- end forward
- global type w_super_id from w_publ_base
- integer width = 1623
- integer height = 600
- string title = "请输入用户口令"
- boolean minbox = false
- windowtype windowtype = response!
- sle_pass sle_pass
- cb_1 cb_1
- st_1 st_1
- end type
- global w_super_id w_super_id
- type variables
- string ls_syspass
- end variables
- on w_super_id.create
- int iCurrent
- call super::create
- this.sle_pass=create sle_pass
- this.cb_1=create cb_1
- this.st_1=create st_1
- iCurrent=UpperBound(this.Control)
- this.Control[iCurrent+1]=this.sle_pass
- this.Control[iCurrent+2]=this.cb_1
- this.Control[iCurrent+3]=this.st_1
- end on
- on w_super_id.destroy
- call super::destroy
- destroy(this.sle_pass)
- destroy(this.cb_1)
- destroy(this.st_1)
- end on
- event close;call super::close;CloseWithReturn(this,ls_syspass)
- end event
- type cb_func from w_publ_base`cb_func within w_super_id
- boolean visible = false
- integer x = 41
- integer y = 276
- boolean enabled = false
- end type
- event cb_func::clicked;ls_syspass = trim(sle_pass.text)
- close(parent)
- end event
- type cb_exit from w_publ_base`cb_exit within w_super_id
- integer x = 974
- integer y = 272
- integer taborder = 40
- string text = "取消"
- end type
- event cb_exit::clicked;call super::clicked;halt
- end event
- type sle_pass from singlelineedit within w_super_id
- event key pbm_keydown
- integer x = 576
- integer y = 104
- integer width = 622
- integer height = 100
- integer taborder = 10
- boolean bringtotop = true
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- boolean password = true
- integer limit = 15
- borderstyle borderstyle = stylelowered!
- end type
- event key;If key = KeyEnter! Or Key = KeyDownArrow! Then //
- cb_1.POSTEVENT(CLICKED!)
- Return 0
- End If
- end event
- type cb_1 from uo_imflatbutton within w_super_id
- integer x = 462
- integer y = 272
- integer width = 311
- integer height = 96
- integer taborder = 30
- boolean bringtotop = true
- boolean default = true
- end type
- event clicked;call super::clicked;ls_syspass=trim(sle_pass.text)
- if ls_syspass='' then
- Messagebox('错误','口令不能为空!', StopSign!, OK! )
- sle_pass.setfocus()
- return
- end if
- close(parent)
- end event
- type st_1 from statictext within w_super_id
- integer x = 279
- integer y = 128
- integer width = 288
- 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 = 67108864
- string text = "用户口令:"
- alignment alignment = right!
- boolean focusrectangle = false
- end type
|