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!