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
Returns the number of tokens present in a "Text token" edit control.
Example
// Update the caption
STC_Info = "Number of recipient : " + EditTokenCount(EDT_Recipient)
Syntax
<Result> = EditTokenCount(<Edit control>)
<Result>: Integer
Number of tokens associated with the edit control.
<Edit control>: Control name
Name of the "Text token" edit control.
Remarks
  • If duplicates are allowed in the "Text token" edit control, they will be included in the number of tokens returned.
  • An error is displayed if the edit control is not a "Text token" edit control (..TokenEnabled is False).
  • The edit control ..StoredValue property returns the stored values for the tokens, separated by the characters <CR> (Carriage Return).
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.
Component : wd250obj.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment