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 Token property is used to manage the different tokens associated with a "Text token" Edit control.
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
Video token
https://youtu.be/LyVbtOahK_U

https://windevdesenvolvimento.blogspot.com/2019/07/dicas-2196-windev-webdev-mobile.html
amarildo
13 Jul. 2019

Last update: 06/23/2023

Send a report | Local help