-
Luc Railhac
- PowerBuilder
- Thursday, 10 July 2025 08:31 AM UTC
Hi,
In the PFC, pfc_w_frame has the following scripts:
forward
...
type mditbb_1 from tabbedbar within pfc_w_frame
end type
...
end forward
global type pfc_w_frame from w_master
...
mditbb_1 mditbb_1
...
end type
on pfc_w_frame.create
...
this.mditbb_1=create mditbb_1
...
end on
Our MDI frame inherits from w_frame, inherited from pfc_w_frame, and as soon as we try to modify it (for instance, adding a simple comment), PB2025 tries to insert the exact same source lines and we have the following warning and error:
---------- Compiler: Warnings (09:44:53)
sntrp_commun_framework.pbl(w_m_mdi).w_m_mdi.w_m_mdi Class Declaration.11: Warning C0088: Duplicate property name: mditbb_1
---------- Finished Warnings (09:44:53)
---------- Elapsed: 00:00.027
---------- Compiler: Errors (09:44:53)
sntrp_commun_framework.pbl(w_m_mdi).w_m_mdi.create.6: Error C0008: Incompatible types in assignment: w_frame`mditbb_1, mditbb_1
---------- Finished Errors (09:44:53)
---------- Elapsed: 00:00.015
We are using the 2025.05.26 PFC release.
We were able to see this duplication after the initial migration to PB 2025, these lines were present both in the PFC and in our w_m_mdi window, we had to remove these by "Edit source" to be able to run the app.
Thanks for your help,
Luc
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.