-
Pbuser10 Ateikon
- PowerBuilder
- Friday, 19 September 2025 02:16 PM UTC
Hello,
I am experiencing an issue with ApplyTheme() in PowerBuilder 2022 R3 Build 3441.
In the IDE, the following call works as expected:
ApplyTheme("C:\Test\theme\Flat Design Grey")
The theme is applied correctly.
However, when running the compiled executable, ApplyTheme() returns -1.
I have verified:
- The folder "C:\Test\theme\Flat Design Grey" exists.
- The file theme.json is present inside the folder.
- I have full read permissions for the folder.
- I tried both \ and / as path separators.
It seems that the runtime does not recognize the theme support, even though all paths and files are correct.
Could you please advise if this is a known issue with PB2022 R3 Build 3441, or if there are specific runtime files/DLLs required to make ApplyTheme() work with absolute paths?
Thank you for your assistance.
Best regards,
Demis
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.