1. Géza Bartha
  2. PowerBuilder
  3. Thursday, 16 January 2020 09:00 AM UTC

HiHi!

 

Hi!

Is it possible to change the picture of picturebutton from theme?

I would like to set default picture in theme. (pb 2019)

 

Regards,

Géza

John Raghanti Accepted Answer Pending Moderation
  1. Thursday, 16 January 2020 13:05 PM UTC
  2. PowerBuilder
  3. # 1

Hi, from what I understand, the following are the only properties you are able to control in pictureButton with themes: Border color, background color, font color.

 

From the Blue theme file:

 

"picturebutton":
{
"drawing":true,
"normal-state":
{
"border-color":"#999999",
"background-color":"#FFFFFF",
"text-font":{"color":"#000000"}
},
"hover-state":
{
"border-color":"#0078D7",
"background-color":"#E5F1FB",
"text-font":{"color":"#000000"}
},
"pressed-state":
{
"border-color":"#0060AC",
"background-color":"#CCE4F7",
"text-font":{"color":"#000000"}
},
"focused-state":
{
"border-color":"#0078D7",
"background-color":"#CCCCCC",
"text-font":{"color":"#000000"}
},
"disabled-state":
{
"border-color":"#CCCCCC",
"background-color":"#CCCCCC",
"text-font":{"color":"#999999"}
}
},

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.