1. Pau Haro
  2. PowerBuilder
  3. Tuesday, 2 February 2021 09:49 AM UTC

Hello everyone,

Im migrating my app to PB2019 R3, to get the new ribbonbar PBR. But I don't know what I'm suposed to do, the ribbon images go directly to the app (.pbr) file or I need to create a new (.pbr) file?

Accepted Answer
Pau Haro Accepted Answer Pending Moderation
  1. Tuesday, 2 February 2021 10:19 AM UTC
  2. PowerBuilder
  3. # Permalink

Hi Miguel, 

What about this? It's on the PB2019 R3 features

Comment
  1. Miguel Leeuwe
  2. Tuesday, 2 February 2021 10:26 AM UTC
Hmmm maybe I read an old post about 2019 R2. My apologies. So it should work then like any normal PBR I would say?

I don't think you'll need a separate pbr, though you could. What "we" do for our resources, is to have an empty library "pictures.pbl". In the project painter we associate the PBR file to that library, instead of assigning it to the executable. This will then generate a "picture.pbD" when we build the executable. (marked as p-code and all pbd boxes checked).

Just an idea.
  1. Helpful
  1. Pau Haro
  2. Tuesday, 2 February 2021 11:05 AM UTC
Yes, just tried to put all my images inside app (pbr) and works fine.

Thanks for the help.
  1. Helpful
  1. Miguel Leeuwe
  2. Tuesday, 2 February 2021 12:08 PM UTC
yw
  1. Helpful
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Tuesday, 2 February 2021 10:12 AM UTC
  2. PowerBuilder
  3. # 1

EDITED: I was wrong, R3 introduced the use of pbr ..

For now the PBR file is not being used to reference the ribbon's images. You'll have to distribute them together with your exe.

I think there are plans for the future to make use of the PBR.

Comment
There are no comments made yet.
René Ullrich Accepted Answer Pending Moderation
  1. Tuesday, 2 February 2021 10:22 AM UTC
  2. PowerBuilder
  3. # 2

Hi Pau,

I think you don't need an extra PBR file. You can use one you already have for your application.

But I've not tested it.

Regards,

René

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.