1. Paulo Chagas
  2. PowerBuilder
  3. Monday, 27 November 2023 20:29 PM UTC

Hi! Im trying to disable the maxbox of a window using window.maxbox = false.

But when i try it after a ipplied the theme, the code doesn't work.

If i try the same thing without apply the theme, the code works!

After applying the theme, do I have to do it another way?

Im using Powerbuilder 2021 Build 1509.

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 27 November 2023 20:58 PM UTC
  2. PowerBuilder
  3. # 1

Hi Paulo;

  Since PB 2021 is already deprecated... Have you tried a test with  PB2022 R2 to see if the Theme works ok with that code?

Regards .... Chris 

Comment
There are no comments made yet.
Paulo Chagas Accepted Answer Pending Moderation
  1. Tuesday, 28 November 2023 12:31 PM UTC
  2. PowerBuilder
  3. # 2
Thanks Chris.
I tried it on PB2022 and the code works.
But for now, i'm still looking for another solution to not have to change windows individually.
We are still planning the migration to PB2022.
Comment
  1. Chris Pollach @Appeon
  2. Tuesday, 28 November 2023 19:53 PM UTC
Hi Paulo;

That is great news .. thanks for the feedback!!

Note that in PB 2022 R2 not only can you change / over-ride the theme for a given window but you can set this to happen for all descendants of a given Ancestor window! ;-)

Regards ... Chris
  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.