scaleheight,scalewidth properties

  • Thread starter Thread starter Kevin
  • Start date Start date
K

Kevin

How does one go about setting the interior dimensions of a picturebox?
In vb6 is was the scaleheight/width proerties.
thanks
kevin
 
Kevin said:
How does one go about setting the interior dimensions of a picturebox?

\\\
Me.PictureBox1.ClientSize = New Size(100, 100)
///
 
Herfried said:
\\\
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top