I have a problem with a Delph Form that activates without my intention. The application has a mainform, SalaryF and 3 subforms. One of the subforms, PrintingF, enters it's OnActivate procedure as soon as it's onCreate procedure is finished. I am out of hints who is triggering the Form. How can I find out who is the Sender?
Please help.
Regards Bo Ganslandt

I see no code so I'll share a workaround I used years ago when I had no time to find what was up.

In psuedo code;

PrintingFactive = false

in the onactivate test that variable and exit/return unless you set the value to true.