int func_show_win() { int x,y,w,h; x=gui_get_x("ComboBox_Ext_Ass_Emp_Id"); y=gui_get_y("ComboBox_Ext_Ass_Emp_Id"); w=gui_get_w("ComboBox_Ext_Ass_Emp_Id"); h=gui_get_h("ComboBox_Ext_Ass_Emp_Id"); gui_create_combobox_m("ScrollBox","ComboBox_Ext_Ass_Emp_Id",x,y,w,h,"emp"); x=gui_get_x("ComboBox_Ext_Ass_Res_Id"); y=gui_get_y("ComboBox_Ext_Ass_Res_Id"); w=gui_get_w("ComboBox_Ext_Ass_Res_Id"); h=gui_get_h("ComboBox_Ext_Ass_Res_Id"); gui_create_combobox_m("ScrollBox","ComboBox_Ext_Ass_Res_Id",x,y,w,h,"res"); return 1; }; 把这段脚本放到客户投诉的记录编辑脚本里面,重启下,然后双击相关人员和相关产品的选择框左侧就是多选,点击控件右边的3个点按钮也是多选,下拉选择还是单选 |