ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Kanban functions
  • Properties specific to kbActionAllowed variables:
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
kbActionAllowed (Type of variable)
In french: kbActionAutorisée
The kbActionAllowed type allows you to define which actions are available to the end user when handling cards in a Kanban control. These authorizations can be defined and changed using different WLanguage properties.
Caution: This type of variable can only be used with kbCard variables.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Prevent user from deleting a task
TheTask is kbCard
TheTask.Title = "IMPORTANT"
TheTask.ActionAllowed.Remove = False
KanbanAddCard(LIST_TODO, TheTask)
Properties

Properties specific to kbActionAllowed variables:

The following properties can be used to handle the actions allowed on a card in a Kanban control:
Property nameType usedEffect
ViewDetailsBoolean
  • True to allow the execution of the "View details of a card" event when the user taps or double-taps a card on a mobile device,
  • False otherwise.
ChangeListBoolean
  • True to allow the end user to move the card from one list to another,
  • False otherwise.
MoveBoolean
  • True to allow the end user to move the card in the list,
  • False otherwise.
RemoveBoolean
  • True to allow the end user to delete the card by dragging it and dropping it onto the bottom of the list,
  • False otherwise.
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/09/2023

Send a report | Local help