- This topic has 14 replies, 3 voices, and was last updated 4 years, 10 months ago by
Support.
-
AuthorPosts
-
May 12, 2020 at 8:11 pm #68795
SpeedTI
ParticipantHello.
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, 10 months ago by
SpeedTI.
Regards
Valdir SolaMay 12, 2020 at 8:35 pm #68797HeDiBo
ParticipantIsn’t there an OnMouseEnter in which you can test whether it is in the button area?
-
This reply was modified 4 years, 10 months ago by
HeDiBo.
May 12, 2020 at 11:13 pm #68799SpeedTI
ParticipantHello Sir, is it possible to perform this test at this event for this component?
Thank You
Regards
Valdir SolaMay 13, 2020 at 12:43 pm #68801HeDiBo
ParticipantHello 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.May 14, 2020 at 5:11 pm #68810Support
KeymasterI 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?May 14, 2020 at 6:24 pm #68815SpeedTI
ParticipantI 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 SolaMay 14, 2020 at 8:41 pm #68820HeDiBo
ParticipantIf the OnMouseEnter, OnMouseLeave and OnMouseMove events would also cover the button area, you could show a cursor based on the mouse position.
May 21, 2020 at 7:48 pm #68835Support
KeymasterVsola, try the latest package version, please.
This issue should be solved there.May 23, 2020 at 2:45 am #68847SpeedTI
ParticipantThanks 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, 10 months ago by
SpeedTI.
Attachments:
You must be logged in to view attached files.Regards
Valdir SolaMay 23, 2020 at 7:57 am #68854Support
KeymasterDo you mean button should not be changed when hovered by mouse?
May 23, 2020 at 3:47 pm #68856SpeedTI
ParticipantYes, it would be better if only the cursor was changed.
Regards
Valdir SolaMay 23, 2020 at 3:54 pm #68858SpeedTI
ParticipantIn the same way as it would occur in a TImage
Regards
Valdir SolaMay 26, 2020 at 7:41 pm #68879Support
KeymasterI 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.May 27, 2020 at 12:36 am #68889SpeedTI
ParticipantI 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.Thank You
Regards
Valdir SolaJune 4, 2020 at 9:37 pm #68905Support
KeymasterWait the new version of the package.
This behavior will be improved there. -
This topic was modified 4 years, 10 months ago by
-
AuthorPosts
- The topic ‘Changing cursor in Button of TsComboEdit’ is closed to new replies.