Background image for an MDI

  • Thread starter Thread starter Rethish
  • Start date Start date
R

Rethish

Hi All,
I want to display an background image for an MDI container.
I used the following codes after initializeComponent()

Dim c As Control
For Each c In Me.Controls

If TypeOf c Is MdiClient Then

c.BackColor = Color.White

c.BackgroundImage = Me.BackgroundImage.FromFile(Application.StartupPath &
"\images\Main_Page.jpg")

Exit For

End If

Next



The background image is tiled in the MDI container.

May I know how to solve this issue?


Rethish
 
Back
Top