Results 1 to 13 of 13

Thread: .NET scroll bars-> when you scroll them to maximum position scroll.value is not max

Threaded View

  1. #1

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428

    .NET scroll bars-> when you scroll them to maximum position scroll.value is not max

    what the heck, I dont understand this at all. I opened a blank project, added two scroll bars, each having a minimum value of 0 and a maximum value of a 100. when I run the program, and I scroll the scrollbars to the maximum value position, it appears that scrollbar.value never goes any higher than 91....

    VB Code:
    1. Private Sub HScrollBar1_Scroll(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ScrollEventArgs) Handles HScrollBar1.Scroll
    2.         Me.Text = HScrollBar1.Value.ToString
    3.     End Sub
    4.  
    5.     Private Sub VScrollBar1_Scroll(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ScrollEventArgs) Handles VScrollBar1.Scroll
    6.         Me.Text = VScrollBar1.Value.ToString
    7.     End Sub
    would someone try the same thing and see is this happens to you too? because this totally doesnt make any sense to me
    Last edited by MrPolite; Feb 13th, 2004 at 09:07 PM.
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width