The button in TsComboEdit should be part of the control

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #68800
    HeDiBo
    Participant

    The button in a TsComboEdit does not generate events like MouseEnter, MouseLeave and MouseMove. However, the button is part of the TsComboEdit and should work the same way.
    For instance, changing the cursor shape upon hoovering above the button is not possible now, because of this.
    So, most mouse events should be active also if the mouse is over the button.
    It can be done, I think, if the button becomes a real button and not an atomic graphic control.

    #68809
    Support
    Keymaster

    It was a real button in first versions of the component, but other problems were existing in this variant (which was worse than missing events).
    Later this button was removed and non-client area used now for button actions. Just events should be tested now, and button should be improved.

    #68818
    HeDiBo
    Participant

    I see. Do you mean you’re going to fix this?
    For instance, you could place a real button in the non-client area and copy the appropriate events to the TsComboEdit control.

    #68832
    HeDiBo
    Participant

    In 15.08 you apparently have done some work on this.
    The OnMouseEnter and OnMouseLeave events do not work yet. Also the X,Y coordinates in OnMouseMove are incorrect. So, do you expect it to start working in a next release?

    #68842
    Support
    Keymaster

    Yes, these events will be supported in the next release.

    #68934
    HeDiBo
    Participant

    In 15.09 all seems well 💎

    #68935
    HeDiBo
    Participant

    There’s still a problem: if the mouse hovers over the button, OnMouseMove events are not generated, making it impossible to determine if the mouse is over the button.

    #68956
    Support
    Keymaster

    I will check it.

    #69007
    HeDiBo
    Participant

    Problem solved in 15.10 👌
    Please close this topic

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘The button in TsComboEdit should be part of the control’ is closed to new replies.