Results 1 to 3 of 3

Thread: How to autoscroll a panel control?

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2003
    Posts
    47

    How to autoscroll a panel control?

    Hi all. I am in need of programmatically performing scrolling of the scrollbars that appears on a panel. Does anyone knows how do i do so?

    Thanks in advance.

  2. #2
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    Originally posted by Archaven
    Hi all. I am in need of programmatically performing scrolling of the scrollbars that appears on a panel. Does anyone knows how do i do so?

    Thanks in advance.
    it's all about scrollbars these days ha?

    The only thing that I would know would be to call Panel.ScrollControlIntoView(). I dont know if you can actually change the scroll position as you would with a scrollbar
    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!!

  3. #3

    Thread Starter
    Member
    Join Date
    Sep 2003
    Posts
    47
    thanks mr. polite for your suggestion.

    but ScrollIntoView is not what i am looking for. basically i am drawing in a panel. let say i have an object in the panel, for ex. a rectangle. the user selected the rectangle and drag it beyond the screen panel. so, i will need to programmatically scroll the panel and redraw the position of the rectangle.

    hope you can provide me with some idea. thanks

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