Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help With Picture On an MDI Form & Resizing 1

Status
Not open for further replies.

Ferlin

Programmer
Jan 18, 2001
71
US
Hello All,

The Keyword Search is down and I could not find anything on
this in the FAQ's.

I am creating an MDI application, I have managed to place a Picture on the background by adding a Picture Box to the Form, setting it's Align Property to top and it's AutoSize Property to False. I then added another Form and placed an Image Box on theat Form and then did a Select All and a copy on it. I removed the new form. I clicked on the Picture box and sized it to the size of the MDI Form with it Maximized. I then did a Ctrl-V to insert the Image Box into the Picture box, so the Picture Box would be it's Container Control. I set the Picture Property of the Image Box to the Graphic I wanted and the Stretch Property to True.

That worked Perfect, I got the Picture for My Background and it enlarged the Graphics to the Size of the Maximized Form.

Now, the problem I have is this if I resize the window or press the window button to bring it to it's smallest size the graphic is NOT resized. :-0

Any HELP on how to do this would be highly appreciated.

Thanks in Advance, this would make me Very Happy. :-D

Ferlin.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top