Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomDBTreeList.OnInitInsertingRecord Event

In This Article

Occurs before a node is inserted into the TreeList control.

#Declaration

Delphi
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