Print Page | Close Window

mouse wheel in propery grid

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=11244
Printed Date: 22 November 2024 at 5:01am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: mouse wheel in propery grid
Posted By: vjedlicka
Subject: mouse wheel in propery grid
Date 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
 



Replies:
Posted By: farr02
Date Posted: 28 August 2008 at 7:17am
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



Posted By: vjedlicka
Date Posted: 29 August 2008 at 3:17am
Hi Holger,

Thank you for the info! I am going to check.

Vaclav

-------------
Thank you
Vaclav
---------------------
ToolkitPro 20.1.0
VS2010-2022, Windows 11


Posted By: farr02
Date Posted: 29 August 2008 at 5:15am
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



Posted By: vjedlicka
Date Posted: 29 August 2008 at 4:08pm
Yes, here it works too
Thanks!


-------------
Thank you
Vaclav
---------------------
ToolkitPro 20.1.0
VS2010-2022, Windows 11



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net