![]() |
mouse wheel in propery grid |
Post Reply ![]() |
Author | |
vjedlicka ![]() Senior Member ![]() Joined: 04 September 2007 Status: Offline Points: 122 |
![]() ![]() ![]() ![]() ![]() Posted: 28 June 2008 at 5:13am |
Hello,
I have a property grid with a spin button for changing a numerical value. I need to be able to change the value with a mouse wheel. How can I do that?
Thank you
Vaclav
|
|
![]() |
|
farr02 ![]() Groupie ![]() Joined: 10 May 2005 Status: Offline Points: 51 |
![]() ![]() ![]() ![]() ![]() |
Hello Vaclav,
from the release notes of version ToolkitPro 12.0.2: "Mouse Wheel support added to change Constraint values and Spin Numbers". The change of the constraint values is working for me but there is no example for the spin numbers. So Oleg, can you please give us an example on how to change the spin numbers with the mouse wheel? Bye Holger |
|
![]() |
|
vjedlicka ![]() Senior Member ![]() Joined: 04 September 2007 Status: Offline Points: 122 |
![]() ![]() ![]() ![]() ![]() |
Hi Holger,
Thank you for the info! I am going to check. Vaclav |
|
Thank you
Vaclav --------------------- ToolkitPro 20.1.0 VS2010-2022, Windows 11 |
|
![]() |
|
farr02 ![]() Groupie ![]() Joined: 10 May 2005 Status: Offline Points: 51 |
![]() ![]() ![]() ![]() ![]() |
Hello Vaclav,
I found it:-) Check the PropertyGrid sample and then the section "Standard Buttons". There you'll find a button with slider and spin. And that spinner supports the mouse wheel. CXTPPropertyGridItem::AddSpinButton is the corresponding method to create it. Bye Holger |
|
![]() |
|
vjedlicka ![]() Senior Member ![]() Joined: 04 September 2007 Status: Offline Points: 122 |
![]() ![]() ![]() ![]() ![]() |
Yes, here it works too
![]() Thanks!
|
|
Thank you
Vaclav --------------------- ToolkitPro 20.1.0 VS2010-2022, Windows 11 |
|
![]() |
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 |