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.