scroll bar display

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tracy Crehan

    scroll bar display

    I am creating a program that will calculate the monthly payment of a loan. The rate and the years are to be displayed on a hscroll bar. I have two issues that I cannot seem to resolve.

    1st - I need to display the range from 5 to 15%, in increments of .5. My code so far is...

    'allow the event procedure
    MonthlyRateDoub le = RateHScrollBar. Value

    'format and display rate and years

    RateTextBox.Tex t = MonthlyRateDoub le.ToString("p" )

    My result is 1,000.00%, instead of 10.

    2nd - When I run the program, the scroll bar does not display the values, but when I begin to scroll, the figures to display.

    I am a beginner doing an online course, which unfortunately does not offer any assistance. I am basically on my own.
    Last edited by Dormilich; Nov 11 '10, 07:03 AM. Reason: please use a descriptive title
  • smartchap
    New Member
    • Dec 2007
    • 236

    #2
    See the attached file. Hope it will help u.
    Attached Files

    Comment

    Working...