Hi All,
I have applied the theme for the application using PowerBuilder 2022 R3 Build 3305.
I have two user objects. In one object, I am able to disable the theme for the data window (tp_grid), but in the other, I am not able to disable the theme(tp_master).
Two objects: 'tp_grid' containing 'dw_1' and 'tp_master' containing 'dw_1'.
I have an additional theme file named 'theme-custom.json' where I have the following code to disable the theme for datawindows.
{
"meta-info":
{
"version":"22.2.0.3305"
},
"tp_grid.dw_1":
{
"drawing":false
},
"tp_master.dw_1":
{
"drawing":false
}
}
theme change disabled for "tp_grid.dw_1": but not happening for "tp_master.dw_1":
tp_grid is a user object which is inside another user object
forward
global type tp_grid from u_tabpg
end type
type dw_1 from u_dw within tp_grid
end type
end forward
tp_master is a user object open dynamically from the code
forward
global type tp_master from u_tabpg
end type
type pb_saveclose from u_pb_saveclose_small within tp_master
end type
type pb_schedule from picturebutton within tp_master
end type
type cb_1 from commandbutton within tp_master
end type
type dw_nav from u_dw within tp_master
end type
type r_header from rectangle within tp_master
end type
type dw_1 from u_dw within tp_master
end type
type pb_close from u_pb_close2_x_small within tp_master
end type
type ds_master from n_ds within tp_master
end type
end forward
I am not sure what I am missing here, how to disable the datawindow theme for dw in both user objects?
Thank you,
Sathsihkumar S
Thank you.
I have tried to disable the background-color option, but it doesn't look good as it creates too much contrast. (window or user object backgrounds are showing white and datawindow backgrounds are showing button face).
Could you please let me know if there are any plans to include options for customizing the theme for datawindows when the objects are opening dynamically, in future versions PB2025?
Thank you,
Sathsihkumar S
We plan to support this in PB2025, but which specific release of PB2025 is not yet determined. Thank you for your support and attention to this feature.
Regards,
Kitty
Thank you, we will wait for it.
Thank you,
Sathishkumar S