I have loaded a map in picture box, but I can't move around it (to see the whole area of the map)
Can someone help me...

Recommended Answers

All 4 Replies

Put a panel control on your form and set its AutoScroll property to true. Now add your picturebox to this panel and set is SizeMode to AutoSize

Doing what waynespangler said would work but it would change the total size of your picturebox. To keep the size of the picturebox the same but fit your picture into the picturebox do this, in the properties of your Picture box set "size mode" to "zoom"

Thnx,

pete

Guys,

I have tried it on the WinForm, but I need it for PocketPC app. It doesen't work there. Do You have some clues?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.