1. Steven Green
  2. PowerBuilder
  3. Tuesday, 19 October 2021 04:54 AM UTC

Hi, so I have created my own custom theme. I have been following these video tutorials:

 

https://youtu.be/XFB_NvGrEC8?t=1078

 

 

And I have tried to apply these for my specific window and it fails to work.

When I do type this:

"datawindow":
    {
        "drawing":true,
        "background-color-enabled":true,
        "background-color":"#FFFFFF",
        "normal-state":
        {
            "border-color":"#CCCCCC"
        },
        "disabled-state":
        {
            "border-color":"#F0F0F0"
        }

    }

It works just fine but if I type this:

 

"window_name$datawindow":
    {
        "drawing":true,
        "background-color-enabled":true,
        "background-color":"#FFFFFF",
        "normal-state":
        {
            "border-color":"#CCCCCC"
        },
        "disabled-state":
        {
            "border-color":"#F0F0F0"
        }

    }

This fails to work. I do have children window which is associated with the parent window, I have tried targeting both of these and still getting an error.

Who is viewing this page
Sivaprakash BKR Accepted Answer Pending Moderation
  1. Wednesday, 20 October 2021 07:09 AM UTC
  2. PowerBuilder
  3. # 1

Hi Steven,

Look https://community.appeon.com/index.php/qna/q-a/re-report-s-datawindow-s-background-to-be-different-than-entry-datawindow-with-theme for a solution

Nevertheless I'm repeating the same solution here.

{
"meta-info":
{
"version":"190"
},
"w_rep_daybook.tab_1.tabpage_2.dw_report":
{
"drawing":true,
"background-color-enabled":true,
"background-color":"#FFFFFF"
},
"w_rep_veh_sales_monthwise.tab_1.tabpage_2.dw_report":
{
"drawing":true,
"background-color-enabled":true,
"background-color":"#FFFFFF",
"cross-style":
{
"drawing":true,
"head-band":
{
"background-color":"#FFFFFF",
"dwo-text-font":{"color":"#000000"}
}
}
}
}

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.