Skip to main content

TcxCustomDataController.IsEditing Property

Specifies whether a data controller is in edit mode.

Declaration

property IsEditing: Boolean read;

Property Value

Type
Boolean

Remarks

This property returns a value indicating whether your data controller is in edit mode. The function returns True in the following cases:

  • You activated edit mode using the Edit or the TDataSet.Edit method.

  • You inserted or appended a new record and it is not yet posted. To insert a new record, you can call the Insert, Append methods or the corresponding dataset methods.

In ExpressQuantumGrid, for instance, edit mode is activated when the end-user starts modifying a record, or presses the Insert key to add a new record.

When edit mode is disabled, the IsEditing function returns False. This is the case when you are not editing the focused record.

See Also