Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi, I'm experiencing a strange effect.

I have a form with a backgroundimage set to a jpg in the relative property.

I can see the image in the form ind the IDE, but when I start application the form has the system grey color and no image is displayed.

I wrote several apllications and this is the first time it happens.

Any suggestions.

Thank you in advance.

Kromax

Posted

Hi, I do not load the image from code.

As I wrote I've set the image in the BackGroundImage property choosing "Import" from "Local resource" in the dialog box.

Then I effectively see the image in the form in editor, but when I launch the application this image does not appear and the form has the system grey background color.

I tried also to set a backgroundimage on a command button, but it's the same: the image does not appear at runtime.

Then I guess there is a wrong setting or coding somewhere I can't see.

I've performed several times the same operation with other applications and they work fine, but not this one.

 

Any suggestions?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...