devxlogo

When project completed, no datawindows or functions were regenerated. Why?

When project completed, no datawindows or functions were regenerated. Why?

Question:
I recently created a project in PowerBuilder 4.06 to regenerate my application, PBDs and .exe. When the project was completed, none of my datawindows or functions were regenerated. Why? Should they have regenerated? What can I do to get them to regenerate?

Answer:
That is correct; the project painter does not regenerate those two typesof objects. This is because they do not allow inheritance, which is themain reason for the regenerate feature.

I have never had problems with datawindows requiring regeneration, but onone or two occasions I have had problems with global functions. I regenerated them manually by opening each function, pressing space, then deleting the space and saving.

In PB5 you can group your global function together intoautoinstantiate nonvisual objects, which then will beregenerated as part of the application build.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist