RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Classes.TDuplicates Enumeration

TDuplicates indicates the response when an application attempts to add a duplicate entry to a list.

Pascal
TDuplicates = (
  dupIgnore,
  dupAccept,
  dupError
);
C++
enum TDuplicates {
  dupIgnore,
  dupAccept,
  dupError
};

Classes

TDuplicates can have one of the following values:

Value 
Meaning 
dupIgnore  
Ignore attempts to add duplicate entries (do not add the duplicate).  
dupAccept  
Allow the list to contain duplicate entries (add the duplicate).  
dupError  
Raise an exception when the application tries to add a duplicate.  

 

TStrings

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!