PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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
The Property RemovableToken allows you to:
  • 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
SAI_Email.TokenDeletable token = True
ELSE
SAI_Email.TokenDeletable token = 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 the Property TokenDeletable corresponds to True (value by Default), the user has the right to delete the tokens with the delete cross or the Delete key..
  • If the Property TokenDeletable matches False, the Delete Cross will not be displayed and the Delete key will have 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