TsComboBox.OnChange

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #36631
    remsi
    Participant

    Hello!

    I have a small problem with the TsComboBox component:

    OnChange is not called when the ItemIndex changes from >= 0 to -1.

    e. g. if someone clears the text using the keyboard.

    I attached a small demo-project showing the difference compared to a TCombobox-component.

    I have AC 10.14 and Delphi XE on Windows XP.

    Greetings,

    Clemens

    #53848
    Support
    Keymaster

    Thank you, I will check it soon.

    #53855
    Support
    Keymaster

    Why the OnSelect event used in this demo?

    If OnChange property used, then behaviour is equal, seems.

    #53872
    remsi
    Participant

    Oops, You're right.

    That solves the problem.

    Sorry for the inconvenience!

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