TColumnEh.Assign Method

Copies the contents of the source column to a new column.

procedure Assign(Source: TPersistent); override;

Assign creates a new column with the same FieldName, Title, DropDownRows, ButtonStyle, PickList, AutoFitColWidth, WordWrap, EndEllipsis, DropDownWidth, LookupDisplayFields, AutoDropDown, AlwaysShowEditButton, WordWrap, Footer, KeyList, and Checkboxes values as the source object. Color, Width, Font, Alignment, ReadOnly, WordWrap, LookupDisplayFields, and Checkboxes are also copied if AssignedValues indicates that they have been changed.

Copyright (c) 1998-2013. All rights reserved.
What do you think about this topic? Send feedback!