I am rewriting an application which used lots of forms (using showmodal etc). Now I want the forms to be represented on tabsheets on one main form. Each form had lots of components and procedures.
If I put all the components onto tabsheets on the main form, do all the procedures now have to be in the main.pas? Can I use separate .pas files as before and include them somehow? Can I use the pas and .dfm units I already have?
Basically, I want to keep the code separate for each tabsheet, and I don't want to have to rewrite all the forms.
If I put all the components onto tabsheets on the main form, do all the procedures now have to be in the main.pas? Can I use separate .pas files as before and include them somehow? Can I use the pas and .dfm units I already have?
Basically, I want to keep the code separate for each tabsheet, and I don't want to have to rewrite all the forms.