.


:




:

































 

 

 

 


: VCL . . TObject, TPersistent, TControl, TWinControl




 

:

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.***

 

˳:

 

  1. .. Delphi 7, .,: -, 2003 . 1152 .
  2. . ., . . Delphi 7. .: -, 2003. 784 : .
  3. .. Delphi., - .: , 2005, - 164 .
  4. .., .., .. '- : . / . ... .: - . .., 2001 320.
  5. .., .., Delphi . .: , 2005. 496 .

 





:


: 2016-12-06; !; : 543 |


:

:

, .
==> ...

1702 - | 1521 -


© 2015-2024 lektsii.org - -

: 0.015 .