Quantcast
Channel: SCN : Discussion List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2881

Pb12.5.2 problem with Tab inheritance

$
0
0

Hello all,

I am modifying a PB app, which has a very heavy, controll-loaded window with a Tab control.

The process of modification requires me to create an ancestor for tab, which contains script code for resize event, but no tab pages.

 

I substitute the "from tab" with "from uo_anc_tab" string in PB source editor and successfully save.

All functionality of the ancestor is working correctly.

 

However, when I attempt to make any kind of change to the window in the PB painter I get compiler error C0001 - illegal data type tabpage_1

 

I opened the source edit again and managed to make the change there without any errors. Yet, the painter keeps returing the errors.

 

If I return the "from tab", the error in the painter disappears.

 

The same trick worked fine on 2 more windows (much smaller, though).

 

Does anyone have an idea why would the painter return a C0001 error, when the source code editor works fine?

The build number is 5602

 

Thank you

Arcady


Viewing all articles
Browse latest Browse all 2881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>