Theme's behavior
- Issue
- alessandro feltrin
- PowerBuilder
- Friday, 23 July 2021 05:20 PM UTC
I have a theme related issue in PB 2019R3.
I use a userobject with some script to allow (force) the resize of an userobject.
constant long WS_THICKFRAME = 262144
constant long WS_SYSMENU = 524288
nv_numerical lnv_num
long ll_Styles
tHIS.Border = True
ll_styles = GetWindowLongw (handle (THIS), -16)
if ll_styles <> 0 then
ll_styles = lnv_num.of_BitWiseOr (ll_styles, WS_THICKFRAME)
SetWindowLongW (handle (THIS), -16, ll_styles)
end if
This script allow my userobject to be resizeable.
Normally (without themes) everything works fine. When I apply a theme, nothing works anymore, it no longer resizes the object!
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.