TcxDBTreeListOptionsData.AutoCalcKeyValue Property
In This Article
Determines whether the key field values for new nodes are generated automatically.
#Declaration
Delphi
property AutoCalcKeyValue: Boolean read; write; default False;
#Property Value
Type | Default |
---|---|
Boolean | False |
#Remarks
Set this property to True to allow the tree list to generate a key field value for any inserted or appended node. You can handle the tree list’s OnGetUniqueKeyValue event to replace this value with your own.
If the AutoCalcKeyValue property is set to False, you must handle the tree list’s OnInitInsertingRecord event to provide key field values for new nodes.
Note
You can handle the On
The default value of the AutoCalcKeyValue property is False.
See Also