Where is the "Frame" object in VB.NET - URGENT !!

  • Thread starter Thread starter Ahmed Jewahar
  • Start date Start date
A

Ahmed Jewahar

Dear All.

In VB 6.0 we can palce many controls inside the Frames, Picture Box
etc.. Advantage of this, you can easily move all the objects that are
placed insdied Pictrue Box or Frames by dragging of "Picture Box" or
"Frames" objects.

I have placed a Picture Box in my VB.NET Windows Form and kept other
controls such textbox, labels etc. inside the "Picture Box". But, the
objects that are placed inside the picture box not moving along with
"picture box" upon dragging the "picture box".

My objective is that I need to put number of controls inside the picture
box or frames (frame not found in vb.net) and the "picture box" will be
centered upon "Page_Resize" event and alll the objects that are placed
inside the "PictureBox" should be moved along with "Picture Box".

Kindly help please.... otherwise I need to go back to VB 6.0 !!

Regards
 
PictureBox in VB.NET is for displaying pictures. It is NOT a placeholder for
graphics or a container control.

For container functionality use the Panel.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
 
Back
Top