ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The TokenListSeparator property retrieves or modifies the separators that trigger the creation of new tokens when entering information in a "Text token" Edit control.
Example
IF EDT_Email.TokenEnabled = True THEN
EDT_Email.TokenListSeparator = ";.:"
END
Syntax

Finding out the separators that trigger the creation of tokens Hide the details

<Result> = <Edit control>.TokenListSeparator
<Result>: Character string
List of authorized separators for token creation.
Remark: The Enter key always corresponds to a token separator.
<Edit control>: Control name
Name of the Edit control used.

Modifying the separators that trigger the creation of tokens Hide the details

<Edit control>.TokenListSeparator = <New separators>
<Edit control>: Control name
Name of the Edit control used.
<New separators>: Character string
List of authorized separators for token creation.
Remark: The Enter key always corresponds to a token separator.
Remarks
  • An error is generated:
    • if the edit control is not a "Text token" Edit control.
    • if the TokenEnabled property corresponds to False.
  • Each character specified with the TokenListSeparator property is processed individually. For example, if the TokenListSeparator property corresponds to ";:", entering ':' triggers the creation of a token.
  • The Enter key always triggers the creation of a token, so it is not necessary to add it to the list of separators of the TokenListSeparator property.
Related Examples:
The Text token edit control Unit examples (WINDEV): The Text token edit control
[ + ] Using a "Text token" edit control.
The text token edit control Unit examples (WEBDEV): The text token edit control
[ + ] Using a "Text token" edit control.
The Text token edit control Unit examples (WINDEV Mobile): The Text token edit control
[ + ] Using a "Text token" edit control.
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help