Results 1 to 2 of 2

Thread: [2005] Scrolling a Control

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2007
    Posts
    17

    [2005] Scrolling a Control

    I am building a control that shows images.
    The control itself is 300 x 300 pixles but it shows images which are over 1000 x 500 pixels. What I want to know is how to use scroll bars to scroll in a control?

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091

    Re: [2005] Scrolling a Control

    Easiest way would be to make your control as big as the image inside it, put your control inside of a Panel, and set the Panel's AutoScroll property to true. Or have your control extend Panel so it inherits the scrolling ability.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

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