Problem TsComboBox & TsComboBoxEx Click

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #55957
    Support
    Keymaster

      Thank you for the demo. This is a standard behaviour, OnClick event is not fired in standard TCombobox too.

      #55958
      Gregory.P
      Participant
        '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;

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.