1. Tomáš Podzimek
  2. PowerBuilder
  3. Monday, 21 November 2022 18:50 PM UTC

Hi,

after applying a theme to an app, some datawindows are drawn with unnecessary scrollbars. There were no scrollbars without a theme. See attached pics.

A datawindow has these properties turned on: LiveScroll, HScrollBar VScrollBar.

No controls (visible or invisible) are placed outside the visible area, so there's no reason to show a scrollbar. It happens on various forms and various DWs (not on all of them).

Any idea how to easily get rid of them? I've tried to modify the .json file and to set drawing to false to vscrollbar and hscrollbar - no luck.

Regards,

Tomáš

Attachments (2)
Tomáš Podzimek Accepted Answer Pending Moderation
  1. Monday, 21 November 2022 20:08 PM UTC
  2. PowerBuilder
  3. # 1

Hi Chris,

PB2022, build 1878. I forgot to mention, sorry.

Regards,

Tomáš

Comment
  1. Tomáš Podzimek
  2. Monday, 21 November 2022 20:18 PM UTC
OK, I'll try to create a sample app with such a behavior.
  1. Helpful
  1. Tomáš Podzimek
  2. Monday, 21 November 2022 21:52 PM UTC
So, I didn't succeed creating a sample app but I've realized what is causing the issue. We are creating a rectangle around the active datawindow - for users to know where the focus is. This rectangle exists even for non-active datawindows, it's just set to be invisible. And when using themes, the rectangle needs to be resized a bit, otherwise those scrollbars appear.

Another mystery solved.

Tomáš
  1. Helpful 3
  1. Chris Pollach @Appeon
  2. Tuesday, 22 November 2022 00:20 AM UTC
Hi Tomáš .. thank you for the feedback & the solution to your issue!
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 21 November 2022 19:13 PM UTC
  2. PowerBuilder
  3. # 2

Hi Tomáš;

  What PB version & build are you referring to?

Regards ... Chris

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.