|
|
|
|
- Overview
- Handling lists and cards in a Kanban control
- Handling Kanban lists
- Handling Kanban cards
- Properties specific to Kanban controls
Handling Kanban controls programmatically
WINDEV, WEBDEV and WINDEV Mobile allow you to programmatically handle Kanban controls. To do so, use the variable of the Kanban control in the code. This help page explains how to handle a Kanban control programmatically. Handling lists and cards in a Kanban control Handling Kanban lists You can create Kanban lists directly in edit mode (in the description window) or programmatically. The different lists correspond to an array of lists. To handle the different lists of a Kanban control, use the List property and specify the index of the list. You can use the following syntax to handle a given list: <Kanban control>.List[<List number>] Then, you can use: Handling Kanban cards Kanban cards correspond to variables of type kbCard. Cards are created and displayed in the Kanban lists. The Card property handles the different cards associated with a Kanban list. Simply specify the index of the card. You can use the following syntax to handle a card in a given list: <Kanban control>.List[<List number>].Card[<Card number>] Example: Procedure to display the details of the selected Kanban card: // Display the details of a card in KANBAN_TASKS PROCÉDURE CardDetails(Card is kbCard)  oList is Control <- KANBAN_TASKS.List[KANBAN_TASKS.ListIndex(Card.ListName)] WIN_KBCARD_MOBILE.OpenMobileWindow(oList, Card, False)
Properties specific to Kanban controls The following properties are used to handle Kanban controls and Kanban lists:
| | Card | The Card property handles the different cards associated with a Kanban list. You can add, modify or delete cards from Kanban list, or navigate between them. | DisplayMode | The DisplayMode property gets and changes: - the display mode in a Word Processing control,
- the display mode in a PDF Reader control
- the display mode in an HTML Editor control,
- the display mode in a Kanban control
| List | The List property is used to handle the different lists of a Kanban control. You can add, modify or delete lists from a Kanban control, or navigate between them. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|