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 TokenDeletable property is used to:
  • Determine if the end user is allowed to delete tokens in a "Text token" edit control.
  • Allow or prevent the end user from deleting tokens in a "Text token" edit control.
Example
IF CBOX_AllowDeletion THEN
EDT_Email.TokenDeletable = True
ELSE
EDT_Email.TokenDeletable = False
END
Syntax

Determining if the end user is allowed to delete tokens Hide the details

<Result> = <Edit control>.TokenDeletable
<Result>: Boolean
  • True if the end user is allowed to delete tokens,
  • False otherwise.
<Edit control>: Control name
Name of the "Text token" edit control being used.

Allowing or preventing the user from deleting tokens Hide the details

<Edit control>.TokenDeletable = <Authorization>
<Edit control>: Control name
Name of the "Text token" edit control being used.
<Authorization>: Boolean
  • True if token deletion is allowed,
  • False otherwise.
Remarks
  • An error is generated:
    • if the edit control is not a "Text token" edit control.
    • If the TokenEnabled property is set to False.
  • If the TokenDeletable property is set to True (default value), the user is allowed to delete tokens with the "X" icon or the Delete key.
  • If the TokenDeletable property is set to False, the "X" icon is not displayed and the Delete key has no effect.
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