PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

New WINDEV, WEBDEV, WINDEV Mobile 24 feature!
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
..TokenDeletable allows:
  • Finding out whether the end user is allowed (or not) to delete tokens in a "Text token" edit control.
  • Authorizing (or not) the end user to delete tokens in a "Text token" edit control.
Example
IF CBOX_AllowDeletion THEN
EDT_Email..TokenDeletable = True
ELSE
EDT_Email..TokenDeletable = False
END
Syntax

Finding out whether the end user is allowed (or not) 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.

Authorizing (or not) the end user to delete 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 ..TokenEnabled is False.
  • If ..TokenDeletable is set to True (value by default), the user can delete tokens via the "X" in the token itself or by pressing the "Del" key.
  • If ..TokenDeletable is set to False, the "X" symbol is not displayed and the "Del" 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