Hello,
I was wondering if anyone knows why the following is happening. I created a new tab control, added a tab page, and the resulting source code had the duplicated type declaration for the tab page:
forward
global type u_sample_tab from tab
end type
type tabpage_1 from userobject within u_sample_tab
end type
type tabpage_1 from userobject within u_sample_tab
end type
end forward
global type u_sample_tab from tab
// the rest of the code removed
When I inserted this tab control into a window, the same happened with the tab type declaration:
forward
global type w_sample_window from window
end type
type tab_1 from u_sample_tab within w_sample_window
end type
type tab_1 from u_sample_tab within w_sample_window
end type
end forward
global type w_sample_window from window
// the rest of the code removed
I was doing it in PB 2019 R3 2728 but didn't try in other PB versions.
Best regards,
Konstantin