- 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
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
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.