ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Token functions
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
Deletes a token from a "Text token" Edit control.
Example
// Click [Delete the test robot]
EDT_Recipient.DeleteToken("robotmail@address.test.com")
Syntax

Deleting a token identified by its value Hide the details

<Result> = <Edit control>.DeleteToken(<Value>)
<Result>: Boolean
  • True if the token was deleted,
  • False otherwise. To get more details on the error, use ErrorInfo.
<Edit control>: Control name
Name of the "Text token" Edit control.
<Value>: Character string
Stored value of the token to be deleted. If several tokens have the same value, only the first token will be deleted.

Deleting a token identified by its index Hide the details

<Result> = <Edit control>.DeleteToken(<Index>)
<Result>: Boolean
  • True if the token was deleted,
  • False otherwise. To get more details on the error, use ErrorInfo.
<Edit control>: Control name
Name of the "Text token" Edit control.
<Index>: Integer
Index of the token to be deleted.
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.
Business / UI classification: UI Code
Component: wd290obj.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/26/2023

Send a report | Local help