- Valdas Vaitiekaitis
- PowerBuilder
- Monday, 7 June 2021 02:45 PM UTC
How do I modify theme of an object, that is added with function OpenUserObject(), like this:
uo_StaticText luo_StaticText
THIS.OpenUserObject(luo_StaticText, 270, 380)
I've made a custom theme-custom.json file in my theme folder, it looks something like this:
{
"meta-info":
{
"version":"190"
},
"w_themestest_main$statictext":
{
"drawing":false
},
"w_themestest_main$userobject":
{
"drawing":false
}
}
It does disable theme for objects that are added via IDE, but I can't figure out how to modify object added with OpenUserObject().
Please see attached sample project.
I also tried "w_themestest_main$uo_statictext" and "uo_statictext", does not work either...
Any ideas?
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.