$PBExportHeader$uo_ddlb_mtrlorigin.sru
forward
global type uo_ddlb_mtrlorigin from dropdownlistbox
end type
end forward

global type uo_ddlb_mtrlorigin from dropdownlistbox
integer width = 549
integer height = 808
integer textsize = -9
integer weight = 400
fontcharset fontcharset = gb2312charset!
fontpitch fontpitch = variable!
string facename = "宋体"
long textcolor = 33554432
string text = "自制"
boolean sorted = false
boolean vscrollbar = true
string item[] = {"自制","客户来料","采购","外协","全部来源"}
borderstyle borderstyle = stylelowered!
end type
global uo_ddlb_mtrlorigin uo_ddlb_mtrlorigin

type variables
int uo_mtrlorigin = 0
end variables

on uo_ddlb_mtrlorigin.create
end on

on uo_ddlb_mtrlorigin.destroy
end on

event selectionchanged;CHOOSE CASE Index
	CASE 1
		uo_mtrlorigin = 0
	CASE 2
		uo_mtrlorigin = 6
	CASE 3
		uo_mtrlorigin = 2
	CASE 4
		uo_mtrlorigin = 3
	CASE 5
		uo_mtrlorigin = -1
END CHOOSE

end event

