Hi All, I am trying to put a changeable wallpaper on the app main screen that the user can change at will. it will be driven from the preference page where the user can browse for picture files as he chooses.
C10
Any help will be appreciated
Regards
Ferdie
Window{PROP:WallPaper} = ImageFileName
3 Likes
PeterG
March 22, 2020, 8:34am
3
AppFrame{PROP:WallPaper} = RTN:Wallpaper
CASE UPPER(RTN:Alignment)
OF 'CENTERED'
AppFrame{PROP:Tiled} = False
AppFrame{PROP:Centered} = True
OF 'STRETCHED'
AppFrame{PROP:Centered} = False
AppFrame{PROP:Tiled} = False
ELSE !OF 'TILED'
AppFrame{PROP:Centered} = False
AppFrame{PROP:Tiled} = True
END
2 Likes
Hi Peter, thank you very much for the help, will definitely use that code
It’s an old C5 APP but it might be useful. And it will update to newer versions, I just tried it!
http://cwaddons.com/freebies/backgrounds.html
1 Like
Thank you so much, will adapt it with my existing code…perfect!!