|
|
|
|
|
TokenAllowDuplicate (Property) In french: JetonAutoriseDoublon
The TokenAllowDuplicate property is used to: - Allow or prevent the user from entering duplicates in a "Text token" Edit control.
- Determine if duplicates are allowed in a "Text token" Edit control.
IF CBOX_Duplicates THEN EDT_Email.TokenAllowDuplicate = True ELSE EDT_Email.TokenAllowDuplicate = False END
Syntax
Determine if duplicates are allowed in a "Text token" Edit control Hide the details
<Result> = <Edit control>.TokenAllowDuplicate
<Result>: Boolean - True if duplicates are allowed,
- False otherwise.
<Edit control>: Control name Name of the Edit control used.
Authorizing duplicates (or not) in a "Text token" Edit control Hide the details
<Edit control>.TokenAllowDuplicate = <Authorization>
<Edit control>: Control name Name of the Edit control used. <Authorization>: Boolean - True if duplicates are allowed,
- False otherwise.
Remarks - An error is generated:
- if the edit control is not a "Text token" Edit control.
- If the TokenEnabled property is set to False.
- If the TokenAllowDuplicate property is set to False (default):
- adding a token with the same stored value triggers a non-fatal error in EditAddToken and EditInsertToken.
- when entering characters directly into the control, the addition of a token with the same stored value is not taken into account: the input does not become a token.
- If the TokenAllowDuplicate property is set to True, the same token can be added multiple times.
Related Examples:
|
Unit examples (WINDEV): The Text token edit control
[ + ] Using a "Text token" edit control.
|
|
Unit examples (WEBDEV): The text token edit control
[ + ] Using a "Text token" edit control.
|
|
Unit examples (WINDEV Mobile): The Text token edit control
[ + ] Using a "Text token" edit control.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|