• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 443
  • Last Modified:

scrolling an imagebox

i have and imagebox on my form. i use an opendialog to open a bitmap file into the box. the problem is i can't resize the image box or scroll it at runtime. i tried using the scrollbars i couldn't hookup the scrollbars to the Pictures properties. i basically want the picture in the imagebox to scroll when i use the scroll bars.
can anyone help me please
thank u.
1 Solution
hi twilight prince

simple drop a tscrollbox on your form
(align = alclient)

then drop a timage in the scollbox
(top = 0, left = 0, autosize = true)

thats all

twilight_princeAuthor Commented:
thanks a lot man.... that works. as u can tell i am a newbie at delphi. once again thank a lot.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now