123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367 |
- $PBExportHeader$m_publ_preview_dnset.srm
- forward
- global type m_publ_preview_dnset from menu
- end type
- type m_main from menu within m_publ_preview_dnset
- end type
- type m_编辑格式 from menu within m_main
- end type
- type m_mxd from menu within m_main
- end type
- type m_- from menu within m_main
- end type
- type m_3 from menu within m_main
- end type
- type m_ from menu within m_main
- end type
- type m_-0 from menu within m_main
- end type
- type m_导入单据样式 from menu within m_main
- end type
- type m_导出单据样式 from menu within m_main
- end type
- type m_main from menu within m_publ_preview_dnset
- m_编辑格式 m_编辑格式
- m_mxd m_mxd
- m_- m_-
- m_3 m_3
- m_ m_
- m_-0 m_-0
- m_导入单据样式 m_导入单据样式
- m_导出单据样式 m_导出单据样式
- end type
- global type m_publ_preview_dnset from menu
- m_main m_main
- end type
- end forward
- global type m_publ_preview_dnset from menu
- m_main m_main
- end type
- global m_publ_preview_dnset m_publ_preview_dnset
- on m_publ_preview_dnset.create
- m_publ_preview_dnset=this
- call super::create
- this.menutextcolor = 134217735
- this.menubackcolor = 134217732
- this.menuhighlightcolor = 134217741
- this.textsize = 8
- this.weight = 400
- this.facename = "Tahoma"
- this.titlebackcolor = 134217730
- this.bitmapbackcolor = 12632256
- this.menubitmaps = true
- this.titlegradient = true
- this.toolbartextcolor = 134217746
- this.toolbarbackcolor = 67108864
- this.toolbarhighlightcolor = 134217741
- this.toolbargradient = true
- this.bitmapgradient = true
- this.m_main=create m_main
- this.Item[UpperBound(this.Item)+1]=this.m_main
- end on
- on m_publ_preview_dnset.destroy
- call super::destroy
- destroy(this.m_main)
- end on
- type m_main from menu within m_publ_preview_dnset
- m_编辑格式 m_编辑格式
- m_mxd m_mxd
- m_- m_-
- m_3 m_3
- m_ m_
- m_-0 m_-0
- m_导入单据样式 m_导入单据样式
- m_导出单据样式 m_导出单据样式
- end type
- on m_main.create
- call super::create
- this.text = " "
- this.menutextcolor = 134217735
- this.menubackcolor = 134217732
- this.menuhighlightcolor = 134217741
- this.textsize = 8
- this.weight = 400
- this.facename = "Tahoma"
- this.titlebackcolor = 134217730
- this.bitmapbackcolor = 12632256
- this.menubitmaps = true
- this.titlegradient = true
- this.toolbartextcolor = 134217746
- this.toolbarbackcolor = 67108864
- this.toolbarhighlightcolor = 134217741
- this.toolbargradient = true
- this.bitmapgradient = true
- this.m_编辑格式=create m_编辑格式
- this.m_mxd=create m_mxd
- this.m_-=create m_-
- this.m_3=create m_3
- this.m_=create m_
- this.m_-0=create m_-0
- this.m_导入单据样式=create m_导入单据样式
- this.m_导出单据样式=create m_导出单据样式
- this.Item[UpperBound(this.Item)+1]=this.m_编辑格式
- this.Item[UpperBound(this.Item)+1]=this.m_mxd
- this.Item[UpperBound(this.Item)+1]=this.m_-
- this.Item[UpperBound(this.Item)+1]=this.m_3
- this.Item[UpperBound(this.Item)+1]=this.m_
- this.Item[UpperBound(this.Item)+1]=this.m_-0
- this.Item[UpperBound(this.Item)+1]=this.m_导入单据样式
- this.Item[UpperBound(this.Item)+1]=this.m_导出单据样式
- end on
- on m_main.destroy
- call super::destroy
- destroy(this.m_编辑格式)
- destroy(this.m_mxd)
- destroy(this.m_-)
- destroy(this.m_3)
- destroy(this.m_)
- destroy(this.m_-0)
- destroy(this.m_导入单据样式)
- destroy(this.m_导出单据样式)
- end on
- event selected;//if not w_publ_preview.dw_1.describe('mxreport.type')='report' or retrieveid=0 then m_mxd.enabled=false //检查是否存在名为mxreport的report没有则此功能不可以用
- end event
- type m_编辑格式 from menu within m_main
- end type
- event clicked;if isvalid(w_publ_preview) then w_publ_preview.triggerevent("ue_mod_printbill")
- end event
- on m_编辑格式.create
- call super::create
- this.text = "编辑格式"
- this.menutextcolor = 134217735
- this.menubackcolor = 134217732
- this.menuhighlightcolor = 134217741
- this.textsize = 8
- this.weight = 400
- this.facename = "Tahoma"
- this.titlebackcolor = 134217730
- this.bitmapbackcolor = 12632256
- this.menubitmaps = true
- this.titlegradient = true
- this.toolbartextcolor = 134217746
- this.toolbarbackcolor = 67108864
- this.toolbarhighlightcolor = 134217741
- this.toolbargradient = true
- this.bitmapgradient = true
- end on
- on m_编辑格式.destroy
- call super::destroy
- end on
- type m_mxd from menu within m_main
- end type
- on m_mxd.create
- call super::create
- this.text = "明细网格调整"
- this.menutextcolor = 134217735
- this.menubackcolor = 134217732
- this.menuhighlightcolor = 134217741
- this.textsize = 8
- this.weight = 400
- this.facename = "Tahoma"
- this.titlebackcolor = 134217730
- this.bitmapbackcolor = 12632256
- this.menubitmaps = true
- this.titlegradient = true
- this.toolbartextcolor = 134217746
- this.toolbarbackcolor = 67108864
- this.toolbarhighlightcolor = 134217741
- this.toolbargradient = true
- this.bitmapgradient = true
- end on
- event clicked;if isvalid(w_publ_preview) then w_publ_preview.wf_dowithm(1)
- end event
- on m_mxd.destroy
- call super::destroy
- end on
- type m_- from menu within m_main
- end type
- on m_-.create
- call super::create
- this.text = "-"
- this.menutextcolor = 134217735
- this.menubackcolor = 134217732
- this.menuhighlightcolor = 134217741
- this.textsize = 8
- this.weight = 400
- this.facename = "Tahoma"
- this.titlebackcolor = 134217730
- this.bitmapbackcolor = 12632256
- this.menubitmaps = true
- this.titlegradient = true
- this.toolbartextcolor = 134217746
- this.toolbarbackcolor = 67108864
- this.toolbarhighlightcolor = 134217741
- this.toolbargradient = true
- this.bitmapgradient = true
- end on
- on m_-.destroy
- call super::destroy
- end on
- type m_3 from menu within m_main
- end type
- on m_3.create
- call super::create
- this.text = "单据样式"
- this.menutextcolor = 134217735
- this.menubackcolor = 134217732
- this.menuhighlightcolor = 134217741
- this.textsize = 8
- this.weight = 400
- this.facename = "Tahoma"
- this.titlebackcolor = 134217730
- this.bitmapbackcolor = 12632256
- this.menubitmaps = true
- this.titlegradient = true
- this.toolbartextcolor = 134217746
- this.toolbarbackcolor = 67108864
- this.toolbarhighlightcolor = 134217741
- this.toolbargradient = true
- this.bitmapgradient = true
- end on
- event clicked;if isvalid(w_publ_preview) then w_publ_preview.wf_dowithm(21)
- end event
- on m_3.destroy
- call super::destroy
- end on
- type m_ from menu within m_main
- end type
- on m_.create
- call super::create
- this.text = "恢复默认格式"
- this.menutextcolor = 134217735
- this.menubackcolor = 134217732
- this.menuhighlightcolor = 134217741
- this.textsize = 8
- this.weight = 400
- this.facename = "Tahoma"
- this.titlebackcolor = 134217730
- this.bitmapbackcolor = 12632256
- this.menubitmaps = true
- this.titlegradient = true
- this.toolbartextcolor = 134217746
- this.toolbarbackcolor = 67108864
- this.toolbarhighlightcolor = 134217741
- this.toolbargradient = true
- this.bitmapgradient = true
- end on
- event clicked;if isvalid(w_publ_preview) then w_publ_preview.wf_dowithm(22)
- end event
- on m_.destroy
- call super::destroy
- end on
- type m_-0 from menu within m_main
- end type
- on m_-0.create
- call super::create
- this.text = "-"
- this.menutextcolor = 134217735
- this.menubackcolor = 134217732
- this.menuhighlightcolor = 134217741
- this.textsize = 8
- this.weight = 400
- this.facename = "Tahoma"
- this.titlebackcolor = 134217730
- this.bitmapbackcolor = 12632256
- this.menubitmaps = true
- this.titlegradient = true
- this.toolbartextcolor = 134217746
- this.toolbarbackcolor = 67108864
- this.toolbarhighlightcolor = 134217741
- this.toolbargradient = true
- this.bitmapgradient = true
- end on
- on m_-0.destroy
- call super::destroy
- end on
- type m_导入单据样式 from menu within m_main
- end type
- on m_导入单据样式.create
- call super::create
- this.text = "导入单据样式"
- this.menutextcolor = 134217735
- this.menubackcolor = 134217732
- this.menuhighlightcolor = 134217741
- this.textsize = 8
- this.weight = 400
- this.facename = "Tahoma"
- this.titlebackcolor = 134217730
- this.bitmapbackcolor = 12632256
- this.menubitmaps = true
- this.titlegradient = true
- this.toolbartextcolor = 134217746
- this.toolbarbackcolor = 67108864
- this.toolbarhighlightcolor = 134217741
- this.toolbargradient = true
- this.bitmapgradient = true
- end on
- on m_导入单据样式.destroy
- call super::destroy
- end on
- event clicked;if isvalid(w_publ_preview) then w_publ_preview.f_inport()
- end event
- type m_导出单据样式 from menu within m_main
- end type
- on m_导出单据样式.create
- call super::create
- this.text = "导出单据样式"
- this.menutextcolor = 134217735
- this.menubackcolor = 134217732
- this.menuhighlightcolor = 134217741
- this.textsize = 8
- this.weight = 400
- this.facename = "Tahoma"
- this.titlebackcolor = 134217730
- this.bitmapbackcolor = 12632256
- this.menubitmaps = true
- this.titlegradient = true
- this.toolbartextcolor = 134217746
- this.toolbarbackcolor = 67108864
- this.toolbarhighlightcolor = 134217741
- this.toolbargradient = true
- this.bitmapgradient = true
- end on
- on m_导出单据样式.destroy
- call super::destroy
- end on
- event clicked;if isvalid(w_publ_preview) then w_publ_preview.f_export()
- end event
|