获取cxBarEditItem选择控件comboBox的ItemIndex
var
  AItemIndex: Integer;
  AProperties: TcxComboBoxProperties;
  AValue: string;
begin
  AProperties := TcxComboBoxProperties(cxBarEditItem1.Properties);
  AValue := VarToStr(cxBarEditItem1.EditValue);
  AItemIndex := AProperties.Items.IndexOf(AValue);
  //Perform your actions
end;
                    
                
                
            
        
浙公网安备 33010602011771号