This is a migrated thread and some comments may be shown as answers.

Setting RadTrackbar value problem

5 Answers 223 Views
TrackBar
This is a migrated thread and some comments may be shown as answers.
jeff torririt
Top achievements
Rank 1
jeff torririt asked on 09 Feb 2010, 02:41 AM
when i'm setting a value to a rad track bar, the pointer does not corresponds to the value i defined.
I set the max value for radtrackbar to 100 then assign a value of 100 to it. the pointer should be in the right most part of the control but instead, it's in the middle. i've tried defining more than the max value of the trackbar but same thing, it's in the middle part again.
how can i fix this?

Thanks,

jeff

5 Answers, 1 is accepted

Sort by
0
Joe Banko
Top achievements
Rank 1
answered on 05 May 2010, 12:37 AM
I'm having a similar problem when reading the trackbar value:

        private void scaleTrackBar_ValueChanged(object sender, EventArgs e)

        {

            scaleFact.Text = scaleTrackBar.Value.ToString();

            Glb.scaleFactor = scaleTrackBar.Value;

        }

All I ever get is 0 (zero), the minimum value for the trackbar is 1 and the maximum value is 5, so how do I get nothing but 0?


Thanks,


Joe B

0
Dobry Zranchev
Telerik team
answered on 05 May 2010, 08:30 PM
Hi Joe Banko,

Thank you for writing. We could not reproduce this issue. Could you try to reproduce the issue with the attached example and sent it back to us (in a new support ticket)? This is will help us to fix the issue if there is such.

Kind regards,
Dobry Zranchev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Joe Banko
Top achievements
Rank 1
answered on 05 May 2010, 08:53 PM
As with a lot of VS things. I deleted the RadTrackBar and started over. Issue has now gone away.

Thanks for the response and code though!

Joe B
0
ETTORE CERULLI
Top achievements
Rank 1
answered on 26 Jul 2010, 04:06 PM
Dear Telerik Team,

I have noticed some issues with the RadTrackBar object:
I would like to set an init value (for example value = 50) in a vertical RadTrackBar object with minimum value = 0 and maximum value = 100, but it doesn't work: when the program is loaded the track bar isn't positioned in value = 50 even though the property of the value is set to 50.
In the attachment: RadTrackBar.jpg is the screen shot of that object issue.

What is this problem related to ?
Do you suggest any fix or work around ?

Thanks and regards,

Milena Donato
0
Dobry Zranchev
Telerik team
answered on 29 Jul 2010, 11:59 AM
Hello ETTORE CERULLI,

Thank you for reporting this issue.

I was able to reproduce it. We will address it  in one of our next versions. You can track the status of the issue here. For the time being, you can update the value on OnLoad of the form that contains the RadTrackBar.   

Do not hesitate to contact us in case you have further questions.

Greetings,
Dobry Zranchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TrackBar
Asked by
jeff torririt
Top achievements
Rank 1
Answers by
Joe Banko
Top achievements
Rank 1
Dobry Zranchev
Telerik team
ETTORE CERULLI
Top achievements
Rank 1
Share this question
or