TsDateEdit.OnChange

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #35822
    remsi
    Participant

    Hello!

    I have a minor problem regarding the OnChange property of TsDateEdit.

    If You select a date via the calendar using the mouse everything is fine. OnChange is executed once after the changes are made to the Date and Text property.

    But if You type in a date using the keyboard OnChange is executed twice for each keystroke: Once before and once after the Date and Text properties are being updated.

    I attached a small project reproducing this problem. Setting a breakpoint in TForm2.sDateEdit1Change will stop once for mouse input and twice for keyboard input.

    I have Delphi XE and AlphaControls 2013 v8.43 b271 installed.

    Greetings,

    Clemens

    #50801
    Support
    Keymaster

    Thank you for the demo, I'll try to improve it soon.

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