for i := 0 to cbb_controlmattype.Items.Count -1 do
  begin
     if cbb_controlmattype.Items[i].Selected = True then
     begin
        if cbb_controlmattype.Items[i].Expanded = False then
            cbb_controlmattype.Items[i].Expanded := True
        else
            cbb_controlmattype.Items[i].Expanded := False;
        mattypename := cbb_controlmattype.Items[i].Text;   //单击的时候临时赋值物料类别
        cbb_controlmattype.Items[i].Selected := False;    //避免小三角单击事件冲突
        Break;
     end;

end;

相关文章:

  • 2021-11-16
  • 2021-12-16
  • 2022-02-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-07
  • 2021-06-24
猜你喜欢
  • 2021-09-08
  • 2022-12-23
  • 2021-05-03
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案