1. Satish Pawashe
  2. PowerBuilder
  3. Tuesday, 17 November 2020 19:15 PM


We have migrated our code from PB11 to PB19-R2 and seeing following behaviours.
- Horzontal and Verticle Scroll Bars are not fully visible.
- TAB control's header are not fully visible We tried adjusting the various UI properties for TAB, Windows and DW controls, that did not fix the issue.
We also replaced the old PFC libraries with the one avaliable at
. But this did not solve the issue as well.

However all works fine with PB11 code before migration. Any idea what I may be missing?

I have attached the application multiple sceeen shots (in a zip file) for your reference.

Any help is greately appprciated.



Attachments (5)
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Friday, 20 November 2020 16:19 PM
  2. PowerBuilder
  3. # 1

I'm with John,

This definitely does not look like windows 10. The border thickness is 4 pixels probably and as said by John that would not be the case in Windows 10.

Anyway, just try to make your windows a little wider and give a bit more height.

Look for anything done in resize events !!

Though I doubt it would work on W10, do a search on "SetWindowLong" maybe the windows APi is being used to modify the border thickness?
  1. Miguel Leeuwe
  2. Friday, 20 November 2020 16:22 PM
They're MDI sheets. The look of MDI sheets hasn't been updated since Windows 7.
  1. Benjamin Gaesslein
  2. Wednesday, 2 December 2020 08:21 AM
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Wednesday, 18 November 2020 15:30 PM
  2. PowerBuilder
  3. # 2

Greetings, Satish -

Do you have the "Windows Classic Style" option in the Project object checked? If so, try un-checking it.

The window borders in your screen shots are very wide and look very Windows 7-ish. Is the problem any better if you reduce the border thickness settings in Windows?  What version of Windows are you using? Have you tried other (later) versions?

Regards, John

I don't know what else to tell you, Satish. The non-client area of a window (title/caption, border, min/max/close buttons, etc.) in WIndows 10 have a flat, muted appearance, decidedly different than the Windows 7 look. I think if you can figure out why app windows are rendered in this fashion, this will address the issue. If you're unable to determine why your windows appear this way, the only recourse I can think of is to compensate by enlarging the width & height of your app's windows to leave a little room on the bottom and right sides.

There's a donation-ware utility called AeroGlass that skins Win 10 to give it a WIn 7 appearance. Are you using it or something similar?

Maybe also check the version/build of your PB run-time DLL's to ensure they all match? This is admittedly a long shot.

I'm sorry I'm unable to be more help to you.
  1. John Fauss
  2. Friday, 20 November 2020 14:54 PM
Do a search on "SetWindowLong" maybe the windows APi is being used to modify the border thickness?
  1. Miguel Leeuwe
  2. Friday, 20 November 2020 16:22 PM
Thank you so much John for all the help. At lest you have given me some pointer that I can investigate. I will post once I find an answers to workaround. Thanks a bunch.
  1. Satish Pawashe
  2. Friday, 20 November 2020 21:21 PM
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.