Unit: |
SDL_datatable |
Class: |
TDataTable |
Declaration: |
procedure Assign(Source: TPersistent); |
The Assign method assigns one TDataTable to another. The following properties/parameters are copied from the source component:
- the size of the data matrix
- the comment
- the numeric data, including its subproperties
- row and column attributes
- row and column names
- the types of variables
- the cell states
- the events
Hint 1: |
In general, the statement Destination := Source; is not the same as the statement Destination.Assign(Source);. The first statement makes Destination refer to the same object as Source, whereas the second statement copies the contents of the object referenced by Source into the object referenced by Destination. |
|