1. Roel Pollet
  2. PowerBuilder
  3. Thursday, 19 November 2020 15:43 PM UTC

In the menu bar we change the toolbar icons when the user clicks on it.

m_color.clicked :

IF this.toolBarItemText = "Yellow" THEN
    this.toolBarItemText = "Red"    
    this.toolBarItemName = "red.png"    
ELSE
    this.toolBarItemText = "Yellow"    
    this.toolBarItemName = "yellow.png"
END IF

With PB 2017 R3 this was no problem.

With PB 2019 R2 Build 2353 this does not work anymore.

I found that this still works with BMP icons, but no longer with PNG icons.

Is this a bug?

Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Thursday, 19 November 2020 16:32 PM UTC
  2. PowerBuilder
  3. # 1
0
Votes
Undo

Hi Roel, Please open a support ticket and include a small test case.  Thanks!

Comment
Hello Armeen, Ok. I'll do that.
  1. Roel Pollet
  2. Friday, 20 November 2020 07:39 AM UTC
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.