1. André Rust
  2. PowerBuilder
  3. Saturday, 6 February 2021 11:16 AM UTC

Hi,

I have modified a theme from 2019R2. including it in the EXE worked with applytheme(path). Why this theme does not work in 2019R3 in the EXE with applytheme(path)? the path is correct.

Thx for help.

 

André Rust

Miguel Leeuwe Accepted Answer Pending Moderation
  1. Saturday, 6 February 2021 22:16 PM UTC
  2. PowerBuilder
  3. # 1

Hi,

Now you can put the images in a PBR file, maybe that will fix it.

Also make sure your default path is correct. See: https://docs.appeon.com/pb2019r3/release_bulletin_for_pb/upgrade_information.html

Hopefully it fixes your problem,

regards

Comment
  1. André Rust
  2. Thursday, 11 February 2021 10:05 AM UTC
Hi,

Powerbuilder itself copied my themes to the folder "C:\Program Files (x86)\Appeon\PowerBuilder 19.0\IDE\theme". My theme is called "Flat Design WWT". In the application I could activate my theme under "Additional Properties\themes". But when I make an EXE then the theme is not active. So I created a folder , under the EXE ".\theme\Flat Design WWT", which contains the theme. I wanted to call this with ApplyTheme(). But always comes Result -1.





André Rust
  1. Helpful
  1. André Rust
  2. Thursday, 11 February 2021 14:44 PM UTC
Hi Miguel,

What the fuck. Now I've read through the info on theme 3 times. And still haven't figured out that it 'is set to "Windows Classic"' that was. Now it works. That's how it is when you migrate a very old version and don't pay attention to everything. Thanks all.



André Rust
  1. Helpful
  1. Miguel Leeuwe
  2. Thursday, 11 February 2021 15:07 PM UTC
Haha! Thanks for Sharing, this might happen to more people!

Yes the "Classic" checkbox is not advised for some other reason too, which I can't remember right now.

regards.
  1. Helpful
There are no comments made yet.
Ken Guo @Appeon Accepted Answer Pending Moderation
  1. Monday, 8 February 2021 08:18 AM UTC
  2. PowerBuilder
  3. # 2

Hi André

 

The Default Theme Path of the PB 2019 R3 is different from that of PB 2019 R2, as shown below:

PB 2019 R2: C:\Program Files (x86)\Appeon\Shared\PowerBuilder\theme190

PB 2019 R3: C:\Program Files (x86)\Appeon\PowerBuilder 19.0\IDE\theme

 

I suggest you modify the Theme Path of the Application Object under PB IDE and then run the application to see if it works in the IDE.

When you launch the EXE, you need to copy the theme folder under C:\Program Files (x86)\Appeon\PowerBuilder 19.0\IDE\ to the directory where the EXE resides. Please note that it is the theme folder, not the theme190 folder.

 

Regards,

Ken

 

Comment
There are no comments made yet.
André Rust Accepted Answer Pending Moderation
  1. Thursday, 11 February 2021 10:25 AM UTC
  2. PowerBuilder
  3. # 3

Miguel,

I will make a sample and send it here

André

Comment
  1. Miguel Leeuwe
  2. Thursday, 11 February 2021 10:37 AM UTC
Ok, great, I'll try to reproduce and see if I can find out what goes on.

regards
  1. Helpful
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.