ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Kanban functions
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
Adds a card to a list in a Kanban control.
Example
// Adds a card to LIST_Subjects_to_review
// This Kanban list has been defined in the editor
myCard is kbCard
myCard.Title = "English"
KanbanAddCard(KANBAN_Review, LIST_Subjects_to_review, myCard)
// Dynamically creates a Kanban list
LIST_Reviewed_subjects is Control
LIST_Reviewed_subjects <- KanbanAddList(KANBAN_Review, "Reviewed")
 
// Adds a card to the dynamically created Kanban list
// (Kanban list handled using its title)
myCard2 is kbCard
myCard2.Title = "Spanish"
KanbanAddCard(KANBAN_Review, "Reviewed", myCard2)
 
// Adds the card to the dynamically created Kanban list
// (Kanban list handled using its name)
myCard1 is kbCard
myCard1.Title = "French"
KanbanAddCard("Reviewed", myCard1)
Syntax

Adding a card to a Kanban list by specifying the Kanban control Hide the details

<Result> = KanbanAddCard(<Kanban control> , <Kanban list> , <Card>)
<Result>: Integer
Index of the added element.
<Kanban control>: Control name
Name of the Kanban control used.
<Kanban list>: Control name
Name of the Kanban List control to which the card should be added. This name can correspond to:
  • the name of the Kanban List control defined in the editor,
  • the name of the Kanban List control defined programmatically.
<Card>: kbCard variable
Name of the kbCard variable that corresponds to the card to be added. The card is added at the end of the specified Kanban list.

Adding a card to a Kanban list Hide the details

<Result> = KanbanAddCard(<Kanban list> , <Card>)
<Result>: Integer
Index of the added element.
<Kanban list>: Character string
Name of the Kanban List control to which the card should be added. This name can correspond to:
  • the name of the Kanban List control defined in the editor,
  • the name of the Kanban List control defined programmatically.
<Card>: kbCard variable
Name of the kbCard variable that corresponds to the card to be added. The card is added at the end of the specified Kanban list.
Business / UI classification: UI Code
Component: wd290obj.dll
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/02/2023

Send a report | Local help