Works fine, thanks. A bit of a warry frame has not got any OnKey... events.
It shows frame is not exactly as a form, but I'll try to play with it
anyway.

Thanks to everyone for your help.
Alex

P.S. Does this actually mean there is _no_ way to change main form at run
time .............



----- Original Message -----
From: "Mark Derricutt" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Tuesday, 13 June 2000 10:45
Subject: Re: [DUG]: Changing main form at run-time


> On Tue, 13 Jun 2000, Alex Kouznetsov wrote:
>
> > If so, then can anyone point me to an example or any information on how
to
> > create and embed frames at run-time. All I could find in Delphi help was
> > that frame has to be _dropped_ onto the form.
>
> I just did a quick frame test earlier this moring:
>
> procedure Form1Button1Click(Sender: TObject);
> var
>   f: TFrame2;
> begin
>   f := TFrame2.Create(Self);
>   f.Parent := TabSheet2;
>   f.Align := alClient;
> end;
>
> --
> I am naked, hear me purr.
> Now Playing: embodyment - ballad
>
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to