DesktopWindow.Backdrop

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Picture )
aDesktopWindow.Backdrop = newPictureValue
or
PictureValue = aDesktopWindow.Backdrop

New in 2021r3

Supported for all project types and targets.

Gets or sets the picture object that will be drawn in the window’s background.

Notes

You should not assign a new picture to the backdrop of the window when being inside the paint event of that window. This can lead into problems like the backdrop not being painted.

Example

This example sets the backdrop to a jpg image that has been added to the Project. This is in the Open event.

Me.Backdrop = MyPicture