background image strange behaviour

kromax

Newcomer
Joined
Feb 21, 2008
Messages
7
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
 
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?
 
I don't understand the word "locale" in "Have you given the resource a locale that is different from the form itself?"
 
Back
Top