1. Robert Sawyer
  2. PowerBuilder
  3. Thursday, 20 June 2024 18:09 PM UTC

In the json file for the PB theme, is there a way to highlight an image when it is hovered over? When you hover over a picture button, the image has a 'highlight'. I want to do the same for an image file. Also, how does the theme link objects in the theme to the objects in PB? In other words, for:

"picturebutton":
{
"drawing":true,
"normal-state":
{
"border-color":"#4D4D4D",
"background-color":"#4D4D4D",
"text-font":{"color":"#CCCCCC"}

 

How does PB know to modify the picturebutton?

kitty he @Appeon Accepted Answer Pending Moderation
  1. Monday, 24 June 2024 03:31 AM UTC
  2. PowerBuilder
  3. # 1

Hi Robert,

 

The UI Theme allows for customization of five color states for the PictureButton. However, the effect may not be as noticeable due to the influence of the image used. You can try setting the Hover-state to the desired value to see if it achieves your intended effect.

 

Regards,

Kitty

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.