Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27373

From elements not displaying properly

$
0
0
Alright, so I have a form that has a background image within a panel (Panel1) and a panel within that panel (Panel2). There a bunch of labels, textboxes, etc inside Panel 2 and when they are displayed they are all transparent and go through Panel2 and show the background image in Panel1. What is a way to fix this?

The start up form has the same background image and I'm loading it in the Activated subroutine as:

Code:

Me.BackgroundImage = My.Resources.bg_image
.. And then when I display the next form I use:

Code:

Form2.Panel1.BackgroundImage = Me.BackgroundImage
Form2.Show()

Here's a screenshot of what's happening..

Name:  loading.jpg
Views: 25
Size:  86.9 KB

I definitely don't want to release a piece of software like this. Any ideas?
Attached Images
 

Viewing all articles
Browse latest Browse all 27373


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>