- Kari Paukku
- PowerBuilder
- Tuesday, 18 June 2019 06:55 AM UTC
Hi,
I'm using PB2019, buld 2082 and having issues with ApplyTheme not applying the theme is certain environments.
Made a simple test.
1) copied the themes to C:\TEMP\themes and into that, the four theme folders provided by Appeon, e.g Flat Design Blue
2) Made a button that call the ApplyTime function as follows
int rc
String s
rc = ApplyTheme("C:\temp\themes\Flat Design Blue")
messagebox("rc", rc)
s = GetTheme()
messagebox("Theme is", s)
Under Win10 Pro it works ok, return value is 1 and theme name is Flat Design Blue
Under Win 10 Ent and Windosw 2012R2 (which acts as a Terminal Server)the same code returns -1 and no template name.
I did read that the older Windows Servers dont support themes, but what about Win 10 Entprise and Windosw 2012R2 ?
Thanks,
ktp
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.