1. Rick Hiebert
  2. PowerBuilder
  3. Thursday, 21 September 2023 13:54 PM UTC

Hi All,

Is anyone else having an issue with the MessageBox being smaller in 2022 R2 then 2021.

In our application it is small both horizontally and vertically. 

Vertically it is cutting of the bottom of the buttons.

Horizontally it is right up against the text with no white space.

Thanks,

Rick

Attachments (1)
Accepted Answer
Rick Hiebert Accepted Answer Pending Moderation
  1. Thursday, 21 September 2023 14:34 PM UTC
  2. PowerBuilder
  3. # Permalink

I am using the PFC, but I traced it down and the PFC ultimately uses the PB MessageBox command.

I have tried it on several different monitors with different resolutions and scaling, and all have the same results. Also none of them have any issues in PB2021.

 

Comment
  1. Miguel Leeuwe
  2. Friday, 22 September 2023 08:23 AM UTC
Thanks Chris, exact same link was already posted by John :)
  1. Helpful
  1. Chris Pollach @Appeon
  2. Friday, 22 September 2023 14:31 PM UTC
Great minds think alike. ;-)
  1. Helpful
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Thursday, 21 September 2023 14:25 PM UTC
  2. PowerBuilder
  3. # 1

Hi,

  • Are you using the MessageBox() command or PFC messages?
  • Do you have a "scaling" different to 100% in you windows settings?

This is how a normal MessageBox looks like on my machine Pb 2022 R2.

What calls my attention is the red X on the left.

If I use StopSign! it looks like this, quite different to your X:

 

regards.

Comment
There are no comments made yet.
Rick Hiebert Accepted Answer Pending Moderation
  1. Thursday, 21 September 2023 14:52 PM UTC
  2. PowerBuilder
  3. # 2

I was wrong, PFC does use a custom message box. Now I need to figure out what changed and how to fix it. I'll let you know what I find.

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.