Skip to main content
Table of Contents

TTMSFNCKanbanBoardDatabaseAdapter.OnItemCreateDBKey Event

Occurs when a new item is inserted and the adapter needs a unique key value; handle this event to supply a custom key instead of using the auto-generated one.

API unit family: TMSFNCKanbanBoardDatabaseAdapter Declaring type: TTMSFNCKanbanBoardDatabaseAdapter

Syntax

FMX.TMSFNCKanbanBoardDatabaseAdapter.hppPascalC++
OnItemCreateDBKey: TTMSFNCKanbanBoardDatabaseAdapterItemCreateDBKeyEvent;
__property TTMSFNCKanbanBoardDatabaseAdapterItemCreateDBKeyEvent OnItemCreateDBKey = {read=FOnItemCreateDBKey, write=FOnItemCreateDBKey};

Parameters

Name Description
Sender The adapter raising the event.
AItem The new kanban board item requiring a key.
ADBKey Set this parameter to the desired key string.