1. Konstantin Goldobin
  2. PowerBuilder
  3. Tuesday, 26 October 2021 09:41 AM UTC

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

René Ullrich Accepted Answer Pending Moderation
  1. Tuesday, 26 October 2021 14:00 PM UTC
  2. PowerBuilder
  3. # 1

It often happens. But it works.

Comment
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Tuesday, 26 October 2021 10:45 AM UTC
  2. PowerBuilder
  3. # 2

Hi,

Tabs and tabpages are bit "buggy" in my experience. If you can reproduce this in a constant manner, I'd advice you to create a support ticket.

https://www.appeon.com/standardsupport/newbug

regards.

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.