Setting RadTrackbar value problem

6 posts, 0 answers
  1. jeff torririt
    jeff torririt avatar
    8 posts
    Member since:
    Jan 2010

    Posted 08 Feb 2010 Link to this post

    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
  2. Joe Banko
    Joe Banko avatar
    4 posts
    Member since:
    Apr 2010

    Posted 04 May 2010 Link to this post

    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

  3. UI for WinForms is Visual Studio 2017 Ready
  4. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    348 posts

    Posted 05 May 2010 Link to this post

    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.
  5. Joe Banko
    Joe Banko avatar
    4 posts
    Member since:
    Apr 2010

    Posted 05 May 2010 Link to this post

    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
  6. ETTORE CERULLI
    ETTORE  CERULLI avatar
    1 posts
    Member since:
    Aug 2009

    Posted 26 Jul 2010 Link to this post

    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
  7. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    348 posts

    Posted 29 Jul 2010 Link to this post

    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
Back to Top
UI for WinForms is Visual Studio 2017 Ready