1. Vladimir K.
  2. PowerBuilder
  3. Friday, 23 February 2024 12:15 PM UTC

Hi All.

Appeon PB 2019 R2

I am trying to change datawindow button control ( b_1 ) background to red in the datawindow ( dw_1 )  in the window ( w_test ) using theme-customs.json

{
"meta-info": {
"version": "190"
},
"w_test.dw_1.b_1": {
"drawing": true,
"normal-state": {
"background-color": "#FF0000"
}
}
}

What am i doing wrong?

 

Help will be greatly appreciated.

Thank you

Accepted Answer
Ronnie Po Accepted Answer Pending Moderation
  1. Saturday, 24 February 2024 22:38 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Vladimir,

I haven't tried this, but based on my interpretation of the documentation, I think the following will work:

{
"meta-info": {
"version": "190"
},
"w_test.dw_1": {
  [insert the contents of the "datawindow" section of theme.json and customize as desired]
}
}
}

Comment
  1. Vladimir K.
  2. Monday, 26 February 2024 18:46 PM UTC
Hi Ronnie.

"w_test.dw_1": {"dwo-button":{"drawing": true,"normal-state": {"background-color": "#FF0000"}}}



Work like a charm.

Thank you very match.

Greatly appreciated.

Sincerely

Vlad
  1. Helpful
  1. Ronnie Po
  2. Tuesday, 27 February 2024 17:04 PM UTC
Hi Vlad, glad I could help!
  1. Helpful
There are no comments made yet.
Vladimir K. Accepted Answer Pending Moderation
  1. Monday, 26 February 2024 18:44 PM UTC
  2. PowerBuilder
  3. # 1

del

 

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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.