123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418 |
- $PBExportHeader$w_mftree_billfunc.srw
- forward
- global type w_mftree_billfunc from w_publ_base
- end type
- type cb_1 from uo_imflatbutton within w_mftree_billfunc
- end type
- type cbx_1 from checkbox within w_mftree_billfunc
- end type
- type cbx_2 from checkbox within w_mftree_billfunc
- end type
- type cbx_3 from checkbox within w_mftree_billfunc
- end type
- type cbx_4 from checkbox within w_mftree_billfunc
- end type
- type cbx_5 from checkbox within w_mftree_billfunc
- end type
- type cbx_6 from checkbox within w_mftree_billfunc
- end type
- type cbx_7 from checkbox within w_mftree_billfunc
- end type
- type cbx_8 from checkbox within w_mftree_billfunc
- end type
- type cbx_9 from checkbox within w_mftree_billfunc
- end type
- type cbx_10 from checkbox within w_mftree_billfunc
- end type
- type mle_1 from multilineedit within w_mftree_billfunc
- end type
- type cbx_12 from checkbox within w_mftree_billfunc
- end type
- end forward
- global type w_mftree_billfunc from w_publ_base
- integer width = 1783
- integer height = 1192
- string title = "单据权限树结点"
- boolean minbox = false
- windowtype windowtype = response!
- long backcolor = 134217750
- cb_1 cb_1
- cbx_1 cbx_1
- cbx_2 cbx_2
- cbx_3 cbx_3
- cbx_4 cbx_4
- cbx_5 cbx_5
- cbx_6 cbx_6
- cbx_7 cbx_7
- cbx_8 cbx_8
- cbx_9 cbx_9
- cbx_10 cbx_10
- mle_1 mle_1
- cbx_12 cbx_12
- end type
- global w_mftree_billfunc w_mftree_billfunc
- type variables
- string is_billfuncstr
- end variables
- on w_mftree_billfunc.create
- int iCurrent
- call super::create
- this.cb_1=create cb_1
- this.cbx_1=create cbx_1
- this.cbx_2=create cbx_2
- this.cbx_3=create cbx_3
- this.cbx_4=create cbx_4
- this.cbx_5=create cbx_5
- this.cbx_6=create cbx_6
- this.cbx_7=create cbx_7
- this.cbx_8=create cbx_8
- this.cbx_9=create cbx_9
- this.cbx_10=create cbx_10
- this.mle_1=create mle_1
- this.cbx_12=create cbx_12
- iCurrent=UpperBound(this.Control)
- this.Control[iCurrent+1]=this.cb_1
- this.Control[iCurrent+2]=this.cbx_1
- this.Control[iCurrent+3]=this.cbx_2
- this.Control[iCurrent+4]=this.cbx_3
- this.Control[iCurrent+5]=this.cbx_4
- this.Control[iCurrent+6]=this.cbx_5
- this.Control[iCurrent+7]=this.cbx_6
- this.Control[iCurrent+8]=this.cbx_7
- this.Control[iCurrent+9]=this.cbx_8
- this.Control[iCurrent+10]=this.cbx_9
- this.Control[iCurrent+11]=this.cbx_10
- this.Control[iCurrent+12]=this.mle_1
- this.Control[iCurrent+13]=this.cbx_12
- end on
- on w_mftree_billfunc.destroy
- call super::destroy
- destroy(this.cb_1)
- destroy(this.cbx_1)
- destroy(this.cbx_2)
- destroy(this.cbx_3)
- destroy(this.cbx_4)
- destroy(this.cbx_5)
- destroy(this.cbx_6)
- destroy(this.cbx_7)
- destroy(this.cbx_8)
- destroy(this.cbx_9)
- destroy(this.cbx_10)
- destroy(this.mle_1)
- destroy(this.cbx_12)
- end on
- event close;call super::close;closewithreturn(this,is_billfuncstr)
- end event
- type cb_func from w_publ_base`cb_func within w_mftree_billfunc
- boolean visible = false
- end type
- type cb_exit from w_publ_base`cb_exit within w_mftree_billfunc
- integer x = 1042
- integer y = 984
- end type
- type cb_1 from uo_imflatbutton within w_mftree_billfunc
- integer x = 425
- integer y = 984
- integer taborder = 20
- boolean bringtotop = true
- end type
- event clicked;call super::clicked;String sl
- is_billfuncstr = ""
- IF cbx_1.Checked THEN
- is_billfuncstr += "1"
- ELSE
- is_billfuncstr += "0"
- END IF
- IF cbx_2.Checked THEN
- is_billfuncstr += "1"
- ELSE
- is_billfuncstr += "0"
- END IF
- IF cbx_3.Checked THEN
- is_billfuncstr += "1"
- ELSE
- is_billfuncstr += "0"
- END IF
- IF cbx_4.Checked THEN
- is_billfuncstr += "1"
- ELSE
- is_billfuncstr += "0"
- END IF
- IF cbx_5.Checked THEN
- is_billfuncstr += "1"
- ELSE
- is_billfuncstr += "0"
- END IF
- IF cbx_6.Checked THEN
- is_billfuncstr += "1"
- ELSE
- is_billfuncstr += "0"
- END IF
- IF cbx_7.Checked THEN
- is_billfuncstr += "1"
- ELSE
- is_billfuncstr += "0"
- END IF
- IF cbx_8.Checked THEN
- is_billfuncstr += "1"
- ELSE
- is_billfuncstr += "0"
- END IF
- IF cbx_9.Checked THEN
- is_billfuncstr += "1"
- ELSE
- is_billfuncstr += "0"
- END IF
- IF cbx_10.Checked THEN
- is_billfuncstr += "1"
- ELSE
- is_billfuncstr += "0"
- END IF
- IF mle_1.Text <> "" THEN
- is_billfuncstr += Trim(mle_1.Text)
- END IF
- Close(Parent)
- end event
- type cbx_1 from checkbox within w_mftree_billfunc
- integer x = 123
- integer y = 116
- integer width = 402
- integer height = 60
- 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 = "新建"
- boolean checked = true
- end type
- type cbx_2 from checkbox within w_mftree_billfunc
- integer x = 123
- integer y = 208
- integer width = 402
- integer height = 60
- 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 = "删除"
- boolean checked = true
- end type
- type cbx_3 from checkbox within w_mftree_billfunc
- integer x = 123
- integer y = 300
- integer width = 402
- integer height = 60
- 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 = "确认"
- boolean checked = true
- end type
- type cbx_4 from checkbox within w_mftree_billfunc
- integer x = 123
- integer y = 392
- integer width = 402
- integer height = 60
- 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 = "反确认"
- boolean checked = true
- end type
- type cbx_5 from checkbox within w_mftree_billfunc
- integer x = 677
- integer y = 116
- integer width = 402
- integer height = 60
- 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 = "审核"
- boolean checked = true
- end type
- type cbx_6 from checkbox within w_mftree_billfunc
- integer x = 677
- integer y = 208
- integer width = 402
- integer height = 60
- 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 = "撤审"
- boolean checked = true
- end type
- type cbx_7 from checkbox within w_mftree_billfunc
- integer x = 677
- integer y = 300
- integer width = 402
- integer height = 60
- 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 = "终审"
- boolean checked = true
- end type
- type cbx_8 from checkbox within w_mftree_billfunc
- integer x = 677
- integer y = 392
- integer width = 402
- integer height = 60
- 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 = "终撤"
- boolean checked = true
- end type
- type cbx_9 from checkbox within w_mftree_billfunc
- integer x = 1230
- integer y = 116
- integer width = 402
- integer height = 60
- 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 = "添加备注"
- boolean checked = true
- end type
- type cbx_10 from checkbox within w_mftree_billfunc
- integer x = 1230
- integer y = 208
- integer width = 402
- integer height = 60
- 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 = "打印"
- boolean checked = true
- end type
- type mle_1 from multilineedit within w_mftree_billfunc
- integer y = 476
- integer width = 1746
- integer height = 484
- integer taborder = 30
- boolean bringtotop = true
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- boolean hscrollbar = true
- boolean vscrollbar = true
- boolean autohscroll = true
- boolean autovscroll = true
- borderstyle borderstyle = stylelowered!
- end type
- type cbx_12 from checkbox within w_mftree_billfunc
- integer x = 123
- integer y = 28
- integer width = 402
- integer height = 60
- 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 = "反选"
- boolean checked = true
- end type
- event clicked;cbx_1.Checked = not cbx_1.Checked
- cbx_2.Checked = not cbx_2.Checked
- cbx_3.Checked = not cbx_3.Checked
- cbx_4.Checked = not cbx_4.Checked
- cbx_5.Checked = not cbx_5.Checked
- cbx_6.Checked = not cbx_6.Checked
- cbx_7.Checked = not cbx_7.Checked
- cbx_8.Checked = not cbx_8.Checked
- cbx_9.Checked = not cbx_9.Checked
- cbx_10.Checked = not cbx_10.Checked
- end event
|