Hello,
What a ridiculous problem I am having.
I have created a brand new project.
I dragged a Canvas onto the window.
I dragged background.png file into the project.
I set the Backdrop of Window1 to the background.png in the property inspector - all looks good in the IDE.
Compile and… NOTHING (No Background Pic) ???
I also tried a new project with a Canvas and got exactly the same problem??
Background shows in the IDE, but not in the compiled project.
Am I missing something obvious?
Thank you all in advance.
What OS? What Xojo version?
Windows 8.1
Xojo 2013 r3.1
I have this in a project and it works fine (under OS X, I do not recall under Windows).
[quote=68547:@Richard Summers]I also tried a new project with a Canvas and got exactly the same problem??
Background shows in the IDE, but not in the compiled project.
[/quote]
Have you tried to set the canvas background with your picture ? What happens ?
The same thing happens when I set the Canvas backdrop to my .png - it displays fine in the IDE, but when compiled for Windows, it stays empty.
Could not reproduce this issue. Have you tried with another, different .png ?
Strange - I have just dragged a test.jpg and a pre-existing test.png into the project and they both display correctly in both a canvas, AND as the Window backdrop.
I guess for some unknown reason, Xojo did not like the .png which I originally made?
I made both .pngs in PS CS 5.1 in exactly the same way?
Never mind.
Thank you all for your help.