Group: StrataFrame Users
Posts: 144,
Visits: 618
|
Hi Ben,
thanks a lot for your help. After rethinking my problem a while I decided to move the forms and baseforms out of my main-programm into two new projects, one for the base-forms and another one for the inherited forms which will be used in one more programs.
When I created the projects I used the setting "Strataframe Windows Application" which works, but I was wondering if the settimg "Business Object Library" is something special for BOs or just the same as a windows classlibrary? I also add the steps i did to test it with one base- and one inherited form, maybe you can telle me, if I missed something.
Best regards
Thomas
This is my first test:
I created a form based on a baseform and run my app. It worked as expected. I cut the baseform from my project named "Gal2G" and copied it to a new project named "Gal2GBaseforms". In the new project I set somw references to other projects needed (Controls, Business Objects etc.) In my main project I set a reference to the new project. At a first run I had an error which happended because some resources I commented the lines which contained the now wrong referenece to the main-projects resource file and it worked. Then I build a new resource-file in the base-forms-project and changed the reference in the designer-code of the form
From Inherits Gal2Grms.MySFSingleDataForm
To Inherits Gal2GBaseforms.MySFSingleDataForm
and set the reference to the images in the base-form also from "Gal2G" to "Gal2GBaseforms".
Now it looks to me as this is working.
The second step was to create another new project to host the Forms which I have to take out from the main project. I Cut and copied the form "Testmove" to the new project, set some some references and included an "Imports Gal2GForms" in the main program and this worked too.
|