DELPHI如何读取cxcheckcombobox中的值
时间:2020-07-02 14:46:47
收藏:0
阅读:133
取显示的内容:
cxCheckComboBox1.Text
取已勾选的内容:
var
idx, cnt: Integer;
begin
cnt := cxCheckComboBox1.Properties.Items.Count;
for idx := 0 to cnt - 1 do
begin
if cbsChecked=cxCheckComboBox1.States[idx] then
begin
ShowMessage(cxCheckComboBox1.Properties.Items[idx].Description);
end;
end;
end;
原文:https://www.cnblogs.com/linjincheng/p/13224160.html
评论(0)