TsCheckBox Animation problem

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #35706
    SzakiLaci
    Participant

    Hi,

    I'm trying to change properties of a Checkbox, but it does not repaint, but draws the opposite.

    like

    Code:

    if key = VK_F11 then
    if CB1.Checked then
    CB1.Color := clYellow
    else
    CB1.Color := clBtnFace;

    only repaints correctly, AFTER moving a mouse over it.

    (after pulling the mouse out of the rect.)

    Attached demo.

    #50444
    Support
    Keymaster

    Hi

    Thank you for the demo, I'll try to improve it in the nearest release.

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