PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..TokenEnabled allows you to know if an edit control is a "Text token" edit control.
Example
IF EDT_Email..TokenEnabled = True THEN
EDT_Email..TokenListSeparator = ";.:" + TAB
END
Syntax

Finding out if the edit control is a "Text token" edit control Hide the details

<Result> = <Edit control>..TokenEnabled
<Result>: Boolean
  • True if the edit control is a "Text token" edit control.
  • False otherwise.
<Edit control>: Control name
Name of the edit control used.
Remarks
When ..TokenEnabled is True, if the user enters a separator character or a carriage return (CR), a token is automatically added and the user can continue the input in the control.
A token is a boxed text area that allows the user to identify different elements in a multiple input. For example, tokens make it easy to identify the different recipients of an email.
The value returned or stored by a "Text token" edit control is a string separated by CR.
For example: paul@mail1.com<CR>mar@mail2.com
The separators that trigger the creation of new tokens in an edit control are defined by ..TokenListSeparator.
The parameters for managing duplicates are defined by ..TokenAllowDuplicate.
Assisted input can be enabled for tokens via AssistedInputAdd.
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