Minus value for sliders |
Post Reply |
Author | |
Pariksh*t
Groupie Joined: 26 June 2008 Location: India Status: Offline Points: 77 |
Post Options
Thanks(0)
Posted: 22 September 2009 at 4:40am |
Hi,
We are using sliders ie CXTPControlScrollBar in Ribbonbar. We have set ranfe from -90 to +90 for rotation slider. If i use the slider to set value as -45 it works fine but when we press - button on slider, it sets the value to zero. Why is it so? What is solution? Thanks and Regards, Pariksh*t. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Just tried in our RibbonControls sample
pControl->SetRange(-90, 90);
pControl->SetPos(-45); and it works for me. Maybe you have handler for ScrollBar and manually set it to zero. or maybe its something that was fixed already if you have 12.x version.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Pariksh*t
Groupie Joined: 26 June 2008 Location: India Status: Offline Points: 77 |
Post Options
Thanks(0)
|
when i do setpos(-45)it works fine but whrn i press - button on slider it sets value to 0 and not to -46...
how to solve this? |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi, Still works for our sample . Did you try it ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Pariksh*t
Groupie Joined: 26 June 2008 Location: India Status: Offline Points: 77 |
Post Options
Thanks(0)
|
i guess there is no sample application which has -ve to +ve range for sliders
if there is a sample app please tell me which app handles this requirement? |
|
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 |