Quantcast
Viewing all articles
Browse latest Browse all 12583

Display image in panel control with scroll bars

I have a panel control on a form and have set the panel1.background image = BMP where BMP is a bitmap that is larger than the panel control. Code snippet:

panel1.background image = mybmp

panel1.autoscroll = true

when I run the program no scroll bars appear to look at hidden parts of mybmp.

What do I need to do to fix this problem??


Viewing all articles
Browse latest Browse all 12583

Trending Articles