I'm using Delphi 4. I have a main form with a button that dynamically creates a new form. I'd like the new form to be visible, but to show up BEHIND the main form.
I've tried calling SendToBack() immediately after FormCreate(). But that makes the window flicker quickly before it's actually sent to back.
I've tried making the form invisible, then SendToBack(), then Visible := true.
But the new form is still at the front.
It looks like SendToBack() only works with visible forms? How can I cause the form to be shown behind the main form?