![]() |
Minus value for sliders |
Post Reply
|
| Author | |
Pariksh*t
Groupie
Joined: 26 June 2008 Location: India Status: Offline Points: 77 |
Post Options
Thanks(0)
Quote Reply
Topic: Minus value for slidersPosted: 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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 September 2009 at 3:38am |
|
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)
Quote Reply
Posted: 23 September 2009 at 4:01am |
|
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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 September 2009 at 8:51am |
|
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)
Quote Reply
Posted: 23 September 2009 at 11:06pm |
|
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 |