PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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 Token property is used to manage the different tokens associated with a "Text token" edit control.
Versions 25 and later
WEBDEV - Browser code This property is now available in browser code.
New in version 25
WEBDEV - Browser code This property is now available in browser code.
WEBDEV - Browser code This property is now available in browser code.
WEBDEV - Browser code This property can only be used to get the value of a token.
Example
J is Token
J.Value = "My token"
EditAddToken(EDT_Email, J)
 
// equivalences:  
// EDT_Email.AddToken(J)
// Add(EDT_Email.Token[J])
 
Info(EDT_Email.Token[1].Value)
Syntax

Finding out the value of a token Hide the details

<Result> = <Edit control>.Token[<Token index>]
<Result>: Character string
Value of the token.
<Edit control>: Control name
Name of the "Text token" edit control.
<Token index>: Integer
Index of the token to be handled. The indices correspond to the current display order of the tokens (and not the initial addition or insertion index of the token).
WEBDEV - Browser code Not available in browser code

Modifying the value of a token Hide the details

<Edit control>.Token[<Token index>] = <New value>
<Edit control>: Control name
Name of the "Text token" edit control.
<Token index>: Integer
Index of the token to be handled. The indices correspond to the current display order of the tokens (and not the initial addition or insertion index of the token).
<New value>: Character string
New token value.
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