Re: Form inside a Tab***



On 2006-06-29, jodiepool@xxxxxxxxx <jodiepool@xxxxxxxxx> wrote:
aForm := TfrmSupplierInformation.Create(Tab***);
aForm.Parent := tab***;
aForm.Align := alClient;
aForm.BorderStyle := bsNone;
aForm.Visible := true;

// tab***.Caption := aForm.Caption;

//activate the ***
PageControl1.ActivePage := tab***;
end;

I ve seen similar code all over the web so there must be some property
I m setting wrong , Any ideas?

They were probably using frames not forms.

Roughly forms and frames are similar but forms don't have parents, while
frames must have them. There are some additional differences related to
initialization though IIRC.
.


Quantcast