Thread: Scrolling

  1. #1
    Registered User
    Join Date
    Jul 2004
    Posts
    1

    Scrolling

    Hello everyone,

    I have a form with a picturebox in it. I use a numeric up down to increase and decrease the size of the picturebox. When the picturebox is larger than the form, the form scrollbars pop up. Now what I would like to do is use the page up and page down buttons to be able to scroll. I already have the Form_KeyUp event capturing the Page Up and Page Down keys, but for the life of me I cannot figure out how to make the Form scroll down. Can anyone give me some pointers????

    Thanks,
    Kendal

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    I'm not sure how to make it scroll, but to avoid a problem later - also make sure you're manually forcing the scroll bars to stay hidden (although you sound pretty experienced with C# - just an idea)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Scrolling background?
    By Deo in forum Game Programming
    Replies: 6
    Last Post: 06-09-2005, 05:40 PM
  2. Scrolling
    By PJYelton in forum Windows Programming
    Replies: 10
    Last Post: 03-24-2003, 10:04 AM
  3. Bitmap scrolling with scroll bars
    By solar3147 in forum Windows Programming
    Replies: 0
    Last Post: 03-17-2003, 02:39 AM
  4. SkyLock graphics demo (scrolling, etc.)
    By jdinger in forum Game Programming
    Replies: 9
    Last Post: 06-30-2002, 08:18 PM
  5. Vesa. Parallax scrolling.
    By r0x in forum Game Programming
    Replies: 5
    Last Post: 06-10-2002, 05:39 PM