Gourav_Das
(Gourav Das)
September 20, 2020, 10:13am
1
I want to display an image on the window background
So this is the code…
But instead of showing the batman picture a file dialog opens up , from where i have to select the picture … like this.
After i select the image then i get the background
But its not doing it automatically… I dont want to choose the image . I want the image to exist from the beginning.
Am i doing something wrong?
Jeff_Tullin
(Jeff Tullin)
September 20, 2020, 10:23am
2
GetOpen Folder shows a selection dialog
GetFolderItem just uses the filename you supply as a parameter
1 Like
Jeff_Tullin
(Jeff Tullin)
September 20, 2020, 10:25am
3
If its always batman, drag the jpeg into your project, and then all you need to do is
me.backdrop = batman
1 Like
Just a reminder that GetOpenFolderItem is deprecated. Unless you are using a version prior to 2019r2, you should instead be using FolderItem.ShowOpenFileDialog .
2 Likes