|
RAD Studio VCL Reference
|
Indicates whether the thread list allows duplicate entries.
property Duplicates: TDuplicates;
__property TDuplicates Duplicates;
Set Duplicates to specify what should happen when an attempt is made to add a duplicate item to the list. The value of Duplicates should be one of the following.
|
Value |
Meaning |
|
dupIgnore |
Ignore attempts to add duplicate items to the list. |
|
dupError |
raise an EListError exception when an attempt is made to add duplicate items to the list. |
|
dupAccept |
Permit duplicate items in the list. |
Set Duplicates before adding any items to the list. Setting Duplicates to dupIgnore or dupError does nothing about duplicates that are already in the list.
|
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
|
What do you think about this topic? Send feedback!
|