Problem TsComboBox & TsComboBoxEx Click Root › Technical support › Troubleshooting This topic has 2 replies, 2 voices, and was last updated 7 years, 11 months ago by Gregory.P. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts December 18, 2016 at 6:31 am #37257 Gregory.PParticipant Problem TsComboBox & TsComboBoxEx Click :cs: [attachment=8061:ezgif.com-video-to-gif.gif] Code: procedure TForm1.sComboBox1Click(Sender: TObject); begin sComboBox1.Clear; with sComboBox1.Items do begin Add('1'); Add('2'); Add('3'); end; sComboBox1.ItemIndex := 0; end; procedure TForm1.sComboBox2DblClick(Sender: TObject); begin sComboBox2.Clear; with sComboBox2.Items do begin Add('1'); Add('2'); Add('3'); end; sComboBox2.ItemIndex := 0; end; [attachment=8062:Code.zip] thank you 😀 December 23, 2016 at 8:09 am #55957 SupportKeymaster Thank you for the demo. This is a standard behaviour, OnClick event is not fired in standard TCombobox too. December 23, 2016 at 8:35 am #55958 Gregory.PParticipant 'Support' wrote: Thank you for the demo. This is a standard behaviour, OnClick event is not fired in standard TCombobox too. Ok DropDown event = OnClick event :a3: Code: procedure TForm1.sComboBox1DropDown(Sender: TObject); begin sComboBox1.Clear; with sComboBox1.Items do begin Add('1'); Add('2'); Add('3'); end; sComboBox1.ItemIndex := 0; end; Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In Root › Technical support › Troubleshooting