Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to display background image
Message
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00948681
Message ID:
00948780
Views:
19
This message has been marked as a message which has helped to the initial question of the thread.
Craig,

>I have a windows forms application, the main (startup) form is an MDI Parent form. I want to display an image as a background picture for the application, centred on the screen. If I set the background image for the form, the image repeats and I can't see an obvious property that will prevent it.
>If I add a picturebox to the form, I can get the image to display correctly, however any MDI Child forms that are opened, open up underneath the picture box.

Unfortunately, it is standard Windows Forms behavior that any controls placed directly on an MDI parent form are first in the Z-Order before any child forms and are always displayed in front of the forms at run time. What we do in MM .NET is hide the image if any forms are open, and show it when all application forms are closed.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform