From Xojo Documentation
|You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!|
The passed Picture that will automatically be drawn into the area.
You should not assign a new picture to the backdrop of the control when being inside the Paint event of that control. This can lead into problems like the backdrop not being painted.
The following code assigns a jpg image to the Backdrop. The image has been added to the project. The code is in the Opening event.