Hi,
Some datawindows in PB 22 MR 1892 lose scrollbars when using themes.
The same code when run in PB 21 1509 will display the scrollbars correctly.
Likewise, it will display correctly in PB 22 1892 when themes are turned off.
Unfortunately, I was not able to reproduce this behavior in a small sample application.
I am able to put the scrollbars back using
<dw_window>.vscrollbar = true
<dw_window>.hscrollbar = true
but after resizing the app window, the scrollbars are gone again.
I can't say what these DWs have in common. To me, they're all the same as the ones where the scrollbars work as they should.
Any idea? Thanks in advance.
Regards,
Tomáš
Are you changing the Themes "on the fly" or only setting the Theme use at your App's start-up (App Objects OPEN event)?
PS: I just ran through dozens of Windows in my STD Framework's demo App for PB 2022 build 1892 and did not encounter any disappearing scrollbar issues. FYI: https://sourceforge.net/projects/stdfndclass/files/Applications/PowerBuilder/OrderEntry
Regards ... Chris
this one is interesting. When Theme is set in the app open event, the scrollbars are gone.
When set "on the fly", the scrollbars remain in position. After closing and reopening the form, they're gone.
I guess I'll have to come up with some workaround.
Regards,
Tomáš