I might be doing something wrong however here is my problem:
1) I open a code-module and then the designer. I work with the layouts in the designer and then I generate members and save. So far so good.
2) Now in the designer, I call another layout (file) and start making changes to the layout. Then I call the Generate Members and voilà the automatically generated code by the designer (declarations of events, some events or whatever I have chosen the designer to generate) is added to the underlying code-module. Then I notice the code-module is not the correct one and I must delete all the entries made by the designer.
To avoid this mistake, would it be possible to add a function to the designer which asks for a confirmation before adding its automatic generated code to the underlying-module. In this way, if I notice the underlying code-module is not the correct one, I can change it to the correct one before generating members. The designer-form is not modal so it should be possible.
1) I open a code-module and then the designer. I work with the layouts in the designer and then I generate members and save. So far so good.
2) Now in the designer, I call another layout (file) and start making changes to the layout. Then I call the Generate Members and voilà the automatically generated code by the designer (declarations of events, some events or whatever I have chosen the designer to generate) is added to the underlying code-module. Then I notice the code-module is not the correct one and I must delete all the entries made by the designer.
To avoid this mistake, would it be possible to add a function to the designer which asks for a confirmation before adding its automatic generated code to the underlying-module. In this way, if I notice the underlying code-module is not the correct one, I can change it to the correct one before generating members. The designer-form is not modal so it should be possible.
Last edited: