:
1. .
2.
3. TObject
4. TPersistent
5. TComponent
, VCL. TObject, '.
VCL , Delphi. , TObject, TComponent ( ) TControl ( ).
, Delphi, ' (. 1). - ' VCL ', .
. 1. VCL
, , '; .
TObject
TObject. ³ "" - '. , ' .
TObject , .
, TObject ' .
TObject Delphi VCL. ³ , ' - ', .
1). ' . ' , ', , ' '. .
' ' , ' .
' TObject Destroy Free:
destructor Destroy: virtual;
procedure Free;
, Destroy. ³ ' .
' Destroy Free, , , ' ( Nil). .
|
|
2). ' , . TObject , .
3). Windows . ' 䳿 , , . ' .
TObject .
TPersistent
TPersistent TObject. ³ ' . , ' '.
"Persistent" "", "". ? ³ :
procedure Assign(Source: TPersistent);
' (source) (self, ', Assign). '- , , ' :
FirstObject:= SecondObject;
, ('), , '.
Assign ' ' . ' ' ; , ' "-". .
TPersistent , , ' , .
TComponent
TComponent . - . , TComponent, , '. , .
TControl
TControl TComponent. . , TControl, . 쳺 GUI (Graphic User Interface ) .
TControl . .
TControl ' - , 䳿 , .
TWinControl
TWinControl . ³ TControl .
|
|
TWinControl . ³ , .
, , : , 䳿 .
<b>.
TCustomControl , ( ) Windows: ,
( ) TGraphicControl, TControl.
Delphi, - .
:
1. VCL.**
2. **
3. , Tbject.***
4. Tpersistent***
5. Tcomponent TControl.***
6. .****
7. TwinControl,TCustomControl TgraphicControl.***
˳:
- .. Delphi 7, .,: -, 2003 . 1152 .
- . ., . . Delphi 7. .: -, 2003. 784 : .
- .. Delphi., - .: , 2005, - 164 .
- .., .., .. '- : . / . ... .: - . .., 2001 320.
- .., .., Delphi . .: , 2005. 496 .