scrollbar question...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?a2FyaW0=?=

    scrollbar question...

    Hi All,
    I have an app. to view pictures from a certain folder, but it's not
    showing the full image. I think adding a scrollbar to the form would solve
    the problem. but I need some help with the code. I never had to use
    scrollbars before. any help would be great. thanks...
  • Armin Zingler

    #2
    Re: scrollbar question...

    "karim" <karim@discussi ons.microsoft.c omschrieb
    Hi All,
    I have an app. to view pictures from a certain folder, but it's
    not showing the full image. I think adding a scrollbar to the form
    would solve the problem. but I need some help with the code. I never
    had to use scrollbars before. any help would be great. thanks...
    Does the app show several pictures at a time or only one? In both cases you
    can put the picturebox(es) into a Panel and set the Panel's AutoScroll
    property = True.


    Armin

    Comment

    • kimiraikkonen

      #3
      Re: scrollbar question...

      On Oct 14, 9:55 am, karim <ka...@discussi ons.microsoft.c omwrote:
      Hi All,
         I have an app. to view pictures from a certain folder, but it's not
      showing the full image. I think adding a scrollbar to the form would solve
      the problem. but I need some help with the code. I never had to use
      scrollbars before. any help would be great. thanks...
      As far as i understood, the image is larger than your form or screen,
      so you're not able to view the whole image. In that case, you can use
      a Panel control and place Picturebox on that panel, as an additional
      feature, you can drag / pan the image to move using mouse like by
      manipulation MouseMove / Down events like in that article:



      Hope this helps,

      Onur Güzel

      Comment

      Working...