我把ComboBox的style属性设为csDropDownList的时候,每次KeyPress事件总是会执行两次,比如我有全局变量:str:String;
procedure TForm1.ComboBox1KeyPress(Sender: TObject; var Key: Char);
begin
  str:=str+key;
end;
我按键盘s,得到的str值是:ss,请问怎么会这样啊,改怎样解决?不胜感激!