1. Colin Cruikshank
  2. PowerBuilder
  3. Tuesday, 12 May 2020 18:18 PM UTC

In my menu when I set the ToolBarItemName to one of the PowerBuilder builtin icons, the background color of the icon is silver (see attachment). I want the background transparent. Is it possible to change this?

Attachments (1)
Colin Cruikshank Accepted Answer Pending Moderation
  1. Tuesday, 12 May 2020 20:12 PM UTC
  2. PowerBuilder
  3. # 1

Hi Chris

Thanks for the tips. The menu is already set to contemporary.

The builtin icon I used is, I believe, one of the newer ones. It has _2! at the end, and it looks modern. Here is what I see in the painter, but it shows in the menu with a silver background.

Where can I see a list of icons in the 'Select Image' window you posted above?

Thanks.

Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 13 May 2020 15:49 PM UTC
Hi Colin;

Two more things to check that I just thought of ...



1) In your IDE's working PB.INI, do you have the entry :

[PB]

UseVer5Control=0

// If this entry is there and set to a "1" - then W7 backward compliance is ON and that could affect your Icons



2) In your PB IDE's "Project" object - did you set the "Windows Classic Style" entry to ON?

// If W7 backward compliance is ON then that could affect your Icons



Regards ... Chris



  1. Helpful
  1. Colin Cruikshank
  2. Wednesday, 13 May 2020 17:28 PM UTC
Hi Chris,



1) No entry in PB.ini with the name UseVer5Control.

2) Project object is not set to Windows Classic Style. Might be a moot point though, because the icons also show with a silver background when I run the application out of PB
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 13 May 2020 19:32 PM UTC
Very weird! I would suggest opening a Support Ticket for this issue.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 12 May 2020 19:46 PM UTC
  2. PowerBuilder
  3. # 2

Hi Colin;

  Make sure that you select the newer "Built-in" ICONS. For example: "Save1" vs the old "Save" ...

 

PS: Also, make sure that you switch over to the newer "Contemporary" menu style (vs "traditional") for the Menu Items and Toolbars in the Menu Painter.

 

HTH

Regards ... Chris

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.