ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Kanban functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Inserts a card in a Kanban list.
Example
// Inserts a card at the first position of LIST_Kanban
// This list is defined in the editor
myCard is kbCard
myCard.Title = "English"
KanbanInsertCard(KANBAN_Review, LIST_Subjects_to_review, 1, myCard)
// Dynamically creates a Kanban list
LIST_List_to_review is Control
LIST_List_to_review <- KanbanAddList(KANBAN_Review, "Reviewed")

// Inserts a card at the first position 
// in the dynamically created Kanban list 
// (Kanban list handled using its title)
myCard2 is kbCard
myCard2.Title = "Spanish"
KanbanAddCard(KANBAN_Review, "Reviewed", myCard2)
// Inserts a card at the first position
myCard2b is kbCard
myCard2b.Title = "Japanese"
KanbanInsertCard(KANBAN_Review, "Reviewed", 1, myCard2b)

// Inserts a card at the first position 
// in the dynamically created Kanban list 
// (Kanban list handled using its name)
myCard1 is kbCard
myCard1.Title = "Geography"
KanbanInsertCard(LIST_List_to_review, 1, myCard1)
Syntax

Inserting a card in a Kanban list by specifying the name of the Kanban control Hide the details

<Result> = KanbanInsertCard(<Kanban control> , <Kanban list> , <Position> , <Card>)
<Result>: Integer
Index of the inserted element.
<Kanban control>: Control name
Name of the Kanban control used.
<Kanban list>: Control name
Name of the Kanban List control in which the card should be inserted. 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.
If the Kanban list does not exist, it is added to the Kanban control.
<Position>: Integer
Position where the card is to be inserted.
<Card>: kbCard variable
Name of the kbCard variable that corresponds to the inserted card. The card is inserted at the specified position in the Kanban list.

Inserting a card in a Kanban list Hide the details

<Result> = KanbanInsertCard(<Kanban list> , <Position> , <Card>)
<Result>: Integer
Index of the inserted element.
<Kanban list>: Control name
Name of the Kanban List control in which the card should be inserted. 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.
<Position>: Integer
Position where the card is to be inserted.
<Card>: kbCard variable
Name of the kbCard variable that corresponds to the inserted card. The card is inserted at the specified position in the Kanban list.
Component: wd300obj.dll
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help