Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Currently I am using the microsoft web browser control (axwebbrowser) to display maps, but I don't like how there are margins on the top and left of white space. I thought maybe I could use a picture box but it doesnt seem to have the setting for scrollbars.

 

Is there a way to enable scrollbars for the picture box control or is there a better way to do what I would like to do?

  • Leaders
Posted
For simple scenarios where I want the user to be able to scroll around a large picture, I display the picture in a PictureBox that is sized to contain the entire image and embed the picturebox in a Panel with AutoScroll set to true.
[sIGPIC]e[/sIGPIC]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...