AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
The property TokenAuthorizeDoubloon property allows you 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.
Ejemplo
IF CBOX_Duplicates THEN
EDT_Email.TokenAllowDuplicate = True
ELSE
EDT_Email.TokenAllowDuplicate = False
END
Sintaxis

Determine if duplicates are allowed in a "Text token" Edit control Ocultar los detalles

<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 Ocultar los detalles

<Edit control>.TokenAllowDuplicate = <Authorization>
<Edit control>: Control name
Name of the Edit control used.
<Authorization>: Boolean
  • True if duplicates are allowed,
  • False otherwise.
Observaciones
  • 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 corresponds to False (default value):
    • adding a token with the same stored value triggers a non-fatal error in EditAddToken and EditInsertToken.
    • when entered directly into the field, the addition of a token with the same stored value is not taken into account: the entry is not transformed into a token.
  • If the TokenAllowDuplicate property is set to True, the same token can be added multiple times.
Versión mínima requerida
  • Versión 24
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 10/05/2025

Señalar un error o enviar una sugerencia | Ayuda local