By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,032 Members | 1,147 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,032 IT Pros & Developers. It's quick & easy.

scaleheight,scalewidth properties

P: n/a
How does one go about setting the interior dimensions of a picturebox?
In vb6 is was the scaleheight/width proerties.
thanks
kevin
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
"Kevin" <kb*****@charter.net> schrieb:
How does one go about setting the interior dimensions of a picturebox?


\\\
Me.PictureBox1.ClientSize = New Size(100, 100)
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Nov 21 '05 #2

P: n/a
Herfried K. Wagner [MVP] wrote:
"Kevin" <kb*****@charter.net> schrieb:
How does one go about setting the interior dimensions of a picturebox?

\\\
Me.PictureBox1.ClientSize = New Size(100, 100)
///

Cheers Mate!
thanks
kevin
Nov 21 '05 #3

P: n/a
Herfried K. Wagner [MVP] wrote:
"Kevin" <kb*****@charter.net> schrieb:
How does one go about setting the interior dimensions of a picturebox?

\\\
Me.PictureBox1.ClientSize = New Size(100, 100)
///

ummm....one problem, Clientsize changes the size of the control. I want
the control size not to change with respect to its parent. I just want
to change the interior demensions only without changing the size of the
control. Can that be done?
kevin
Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.