Hello, I have a main form in my project. I added one more form (settings form for my program) and another one for advanced settings. I mean the hierarchy is:
Unit1 (Form1) > settings_unit (settings_frm) > advanced_protection_settings (advanced_protection_settings_frm)
When I run my program using Lazarus,
it shows the dialog I defined in advanced_protection settings. Here's the code:
procedure Tadvanced_protection_settings_frm.FormCreate(Sender: TObject);
begin
ShowMessage(IntToStr(CalculateProtTotal()));
end;
I tried removing "uses" clause for the unit and ShowModal statement in main form but I got the same problem. Can anyone help me? Sorry for my English.
Regards.