Skip to main content

TcxCustomDBTreeList.OnInitInsertingRecord Event

Occurs before a node is inserted into the TreeList control.

Declaration

property OnInitInsertingRecord: TcxDBTreeListInitInsertingRecordEvent read; write;

Remarks

The OnInitInsertingRecord event is fired before the end-user inserts a node into the TreeList control. The AFocusedNode parameter identifies the inserted node. The AHandled parameter specifies whether the default handling is required. Set it to True to prevent the default handling.

Handle this event to calculate the ParentField value for the inserted record (since it is not implemented automatically).

See Also