I want to embed a form within a component I am writing. Right now, the following code is in my Create:
FForm := TTheForm.Create(self);
FForm.BorderStyle := bsNone;
FForm.Parent := self;
FForm.Align := alClient;
As soon as FForm.Show is called, I get the "Control '' has no parent window" exception.
I figure the constructor is a bad place to call "Show". What would be the right place?