Form background problem

Hello everyone, 

In my MDIParent form, I've pointed my background image. What happens, is that it fills the space with copies of that image... 
Is there any way to center the background, instead of tile (think that's the name of this "style")  

In previous programs, I've used a seperated form to be called as a background... But it was a fixed size program, as such, I could not use this option because when there is a resize, the background becomes uncentred. 
When I've tried frmBG.Close(); frmBG.Show();, the form didn't show up again (don't know why). With frmBG.Refresh(); nothing happens at all :(

Thanks in advance


Answer this question

Form background problem

  • magiccode9

    Good question. I remember looking into this quite a long time ago but never came up with a solution to the tiled image problem. I suppose one other alternative to try might be to render the image in the paint event of the mdi parent.

    Good luck, and let me know if you have success!

    -Paul

  • Form background problem