RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFields.Remove Method

Deletes the reference to the Field parameter from the Fields array.

Pascal
procedure Remove(Field: TField);
C++
__fastcall Remove(TField Field);

Applications do not normally call the Remove method directly. After a field is removed, all of the items that follow it are moved up in index position and the Count is reduced by one.

Note: Unlike the Clear method, which frees the field components when it removes them, Remove does not free the specified field component.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!