Hi Dear
I am facing a problem to apply themes in PowerBuilder 2019 Version/build #: 2170
please check the attached file.
my application object do not showing the Preview in Application Properties for selected.Theme. like Theme Sample attached file.
Thanks and Regards
Muhammad Riaz.
Setting the default in the App Object to "Do Not Use Themes" is the best. Unless you do this, there is *no* way to turn off any active Theme as the ApplyTheme() command is lacking support for an OFF functionality. For example ApplyTheme ( "" ) does NOT work. This is an issue in PB2019 and again 2019 R2.
The only way around this lack of functionality that I found is to perform a Restart() command and let the App object's "Do Not Use Themes" setting take effect during the restart process.