Changing cursor in Button of TsComboEdit

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #68795
    SpeedTI
    Participant

    Hello.

    Is it possible to change the shape of the cursor (handpoint) on the button to a TsComboEdit?

    Thank You

    • This topic was modified 4 years, 6 months ago by SpeedTI.

    Regards
    Valdir Sola

    #68797
    HeDiBo
    Participant

    Isn’t there an OnMouseEnter in which you can test whether it is in the button area?

    • This reply was modified 4 years, 6 months ago by HeDiBo.
    #68799
    SpeedTI
    Participant

    Hello Sir, is it possible to perform this test at this event for this component?

    Thank You

    Regards
    Valdir Sola

    #68801
    HeDiBo
    Participant

    Hello Sir, is it possible to perform this test at this event for this component?

    Thank You

    I assumed it was possible. But I was wrong. Apparently the button is not part of the edit control.
    So I made bug report (#68800).
    I assume Serge will act on this.

    #68810
    Support
    Keymaster

    I will check this issue.
    Vsola, do you want to have same Cursor above the button as above the whole control?
    Or do you want to set any different Cursor there?

    #68815
    SpeedTI
    Participant

    I believe that each component should have the possibility to have its own cursor. In my case, the Edit cursor would be the default and for the button it would be the HandPoint cursor.
    Thank you.

    Regards
    Valdir Sola

    #68820
    HeDiBo
    Participant

    If the OnMouseEnter, OnMouseLeave and OnMouseMove events would also cover the button area, you could show a cursor based on the mouse position.

    #68835
    Support
    Keymaster

    Vsola, try the latest package version, please.
    This issue should be solved there.

    #68847
    SpeedTI
    Participant

    Thanks for the changes, however I would like to report some problems:
    When the mouse pointer is over the button, its edges are visible. There could be some property to control this. They could have left it as is, including only the choice for the mouse cursor.
    When the mouse pointer leaves the button, the focus remains and is only removed when the pointer is placed over the text box.
    Thank you!

    • This reply was modified 4 years, 6 months ago by SpeedTI.
    Attachments:
    You must be logged in to view attached files.

    Regards
    Valdir Sola

    #68854
    Support
    Keymaster

    Do you mean button should not be changed when hovered by mouse?

    #68856
    SpeedTI
    Participant

    Yes, it would be better if only the cursor was changed.

    Regards
    Valdir Sola

    #68858
    SpeedTI
    Participant

    In the same way as it would occur in a TImage

    Regards
    Valdir Sola

    #68879
    Support
    Keymaster

    I think I understand now.
    This behavior of button is defined in the skin and may be changed in the ASkinEditor.
    Set amount of states to 1 for the COMBOBTN section. Button will not be changed when hovered by mouse.

    #68889
    SpeedTI
    Participant

    I performed the procedure, but it did not solve the problem related to the focus on the button.
    Please click on the link to watch the video where I tried to demonstrate what happens when the mouse is moved over the button. See the problem related to the focus on the button.

    Video comboedit

    Thank You

    Regards
    Valdir Sola

    #68905
    Support
    Keymaster

    Wait the new version of the package.
    This behavior will be improved there.

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Changing cursor in Button of TsComboEdit’ is closed to new replies.