-
Sathishkumar S
- PowerBuilder
- Friday, 5 April 2024 11:52 AM UTC
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
forwardglobal type tp_grid from u_tabpgend typetype dw_1 from u_dw within tp_gridend typeend forward
tp_master is a user object open dynamically from the code
forwardglobal type tp_master from u_tabpgend typetype pb_saveclose from u_pb_saveclose_small within tp_masterend typetype pb_schedule from picturebutton within tp_masterend typetype cb_1 from commandbutton within tp_masterend typetype dw_nav from u_dw within tp_masterend typetype r_header from rectangle within tp_masterend typetype dw_1 from u_dw within tp_masterend typetype pb_close from u_pb_close2_x_small within tp_masterend typetype ds_master from n_ds within tp_masterend typeend 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
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.