[solved]Down arrow of spin button disappear |
Post Reply |
Author | |
fleg
Groupie Joined: 11 July 2012 Status: Offline Points: 46 |
Post Options
Thanks(0)
Posted: 25 June 2018 at 11:59am |
Hi, I found a regression in propertty grid. When using in Spin button, if you click on the up arrow button, after some clicks, the image of the down button disappears, but comes back if you move the mouse cursor. Here is a screenshot of your demo application "PropertyGrid.PropertyGrid.exe" It can be reproduced with Toolkitpro 18.3.0 and 18.4.0. It was working fine with 17.1 I tried using different themes, and all have the same issue. If it is possible to get a code patch to apply a fix when available, it would be nice. Regard, Fabien |
|
agontarenko
Admin Group Joined: 25 March 2016 Status: Offline Points: 293 |
Post Options
Thanks(0)
|
Hello Fabien, Thank you for bringing this to our attention. I'm glad to inform you that the issue has already been addressed and fixed. The fix will be available in the next beta or final release. As hotfix you can add to class CCustomItemSpinInplaceButton method afx_msg void OnLButtonUp(UINT nFlags, CPoint point); void CCustomItemSpinInplaceButton::OnLButtonUp(UINT nFlags, CPoint point) { CSpinButtonCtrl::OnLButtonUp(nFlags, point); Invalidate(); } Regards, Artem Gontarenko
|
|
fleg
Groupie Joined: 11 July 2012 Status: Offline Points: 46 |
Post Options
Thanks(0)
|
Hi, thanks for the reply CCustomItemSpinInplaceButton class is only used in sample application. Is there any fix required in CXTPPropertyGridInplaceSpinButton class which is the one I'm actually using in my application?
|
|
agontarenko
Admin Group Joined: 25 March 2016 Status: Offline Points: 293 |
Post Options
Thanks(0)
|
This is all changes. Regards Gontarenko Arte
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |