Hi guys sory for being ooff grade 9 was a little ruf and yet gr 10 its still the same anyway>For my question
I ve got a picture box and in some size modes we all know you cant see everything so aamm then i fought about scrolling and i saw the crtl didnt have tht setting build in so amm ya if yuu guys could give me a example it would be gladly appreciated;)
VB 2012 4 Junior Poster
Recommended Answers
Jump to Postpicture boxes don't have scrolls if that's what you want
Jump to PostI think he is wanting the picture to adjust to the size of the PictureBox. To do this, your code would look something like this:
Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Sets the Title of the OpenFileDialog Box …
Jump to PostIf you want a scrollable picturebox then do the following:
1. Add a panel to the form
2. Set the panel to the size you want the picturebox to be.
3. Set the panel's autoscroll = true
4. Set the panel's borderstyle = none
5. Add a picturebox to …
Jump to PostYou can add the property back by simply adding another property named ImageLocation. Look at the other properties.
You can also do the steps I provided and add this to your form. It should do the same thing as that.Private Sub PictureBox1_MouseEnter(ByVal sender As …
All 14 Replies
jefroxnergal 0 Newbie Poster
Netcode 33 Veteran Poster
NetJunkie 29 Junior Poster

Unhnd_Exception
VB 2012 4 Junior Poster
VB 2012 4 Junior Poster
VB 2012 4 Junior Poster
VB 2012 4 Junior Poster

Unhnd_Exception
codeorder commented: +=1 for .beyond the wit of a "With". :) +12
NetJunkie 29 Junior Poster
VB 2012 4 Junior Poster
VB 2012 4 Junior Poster
NetJunkie 29 Junior Poster
NetJunkie 29 Junior Poster
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.