Re: Form inside a Tab***



hi marco:
this is where I got my code from
http://delphi.about.com/od/adptips2005/a/bltip0305_5.htm
they are suing forms and tabs
and found some other similar ones


jo


Marco van de Voort wrote:
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