backgroundimage will not display

M

moi.romanowsky

Does anyone know why the backgroundImage does not display in VB? I
have tried setting it in the properties window (where the thumbnail
shows) and explicitly in my code like so:

Me.BackgroundImage = WindowsApplication1.My.Resources.Resources.Chile

Nevertheless, nothing happens. Incidentally, setting the BackColor
works just fine, such as:

Me.BackColor = Color.Blue

This is the same issue as was reported in June, 2004. See the following
posting.

Thank you,

Moises ([email protected])

----------------------

BackgroundImage will not appear for any control or the form at design
time or runtime. If you set an image in the properties

window, the thumbnail shows but the image does
not appear in the form or control. This problem is apparent even in

QuickStart tutorials. Adding to the mystery, the image
property does work. My only theory is that the Backcolor property
always

overrides the Backgroundimage property, although
it is not supposed to work this way. Has anyone ever seen this
problem?
 
H

Herfried K. Wagner [MVP]

Does anyone know why the backgroundImage does not display in VB?

I am not able to repro this behavior in VS.NET 2002/2003 and VS 2005 August
CTP.

Which format does the image you are using as background image have?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top