N
Niels Jensen
I have a panel which uses DrawImage to paint an image that is actually
larger than the frame of the panel. But I have two problems:
1. Is there nay way to add scroll bars so that it includes the whole
image at present the only way to do this is for me to add a control in
the panel at a position out of the frames size range - the
autoscrollbars then kick in and allow me to scroll around the image.
2. When I do the above, the image is "erased" as it gets moved from the
screen. for example if I scroll down 10 pixels and then back up, the 10
pixels that used to have the image have vanished. the image seems to
only exist in the protion of the panel that was initialy visible when
the drawimage command was done.
Is there any way to have the whole image placed in the panel and then to
have scroll bars that alow me to scroll around the image?
Thanks for any help you guys can offer in advance...
Niels
larger than the frame of the panel. But I have two problems:
1. Is there nay way to add scroll bars so that it includes the whole
image at present the only way to do this is for me to add a control in
the panel at a position out of the frames size range - the
autoscrollbars then kick in and allow me to scroll around the image.
2. When I do the above, the image is "erased" as it gets moved from the
screen. for example if I scroll down 10 pixels and then back up, the 10
pixels that used to have the image have vanished. the image seems to
only exist in the protion of the panel that was initialy visible when
the drawimage command was done.
Is there any way to have the whole image placed in the panel and then to
have scroll bars that alow me to scroll around the image?
Thanks for any help you guys can offer in advance...
Niels