, Active True. ( ) ActiveControl.
, SetFocus.
Controls, TWinControl, :
Controls[Index: Integer]: TControl;
TWinControl , :
InsertControl (AControl: TControl);
RemoveControl( AControl: TControl);
. , .
, (. 19) . . Delphi, () . , , , .. File/New. New, Forms, Dialogs, Data, Modules Projects. New (Application), OLE- (Automation Object), (Component), (Data Module), (DLL), (Form), (Text), . Forms . About Box, Database Form, Dual List Box, Quick Report Labels, Quick Report List, Quick Report Master/Detail Tabbed Pages.
. . ( Form1) . .
. Add to Repository Project Delphi.
, Uses. , , Form2, Unit2, Uses :
implementation
Uses Unit2;
:
Form2. Show;
- . -, ,
Form2.Label1.Caption:=...
:
Form1.Hide; Form2.Show.
Form1 , . , . , Terminate TApplication:
Application.Terminate;