Hello, Jerry,
You need to use the MDIClient contriol for this. This doesn't show up as an available control within the intelli-sense of the MDI form, but you can find it by iterating through the controls on the MDI form and comparing the TypeOf each to MdiCLient. For example, the following code placed on the MDI form will set the variable MDI_Frame to point to this control.
Private WithEvents MDI_Frame As MdiClient
For Each CurrentItem As Control In Me.Controls
If (TypeOf CurrentItem Is MdiClient) Then
MDI_Frame = DirectCast(CurrentItem, MdiClient)
Exit For
End If
Next CurrentItem
Cheers,
Randy
Main Topics
Browse All Topics





by: angelIIIPosted on 2006-08-11 at 01:06:55ID: 17294389
Simply set the MDI parent form's BackgroundImage property.