ITabCellAfterEditEventArgs.Changed

Syntax

Changed: Boolean;

Description

The Changed property returns True if the data have been changed in the result of the cell editing.

Example

Executing the example requires a form. The following components are placed on the form: the TabSheetBox component and the UiTabSheet component namedUiTabSheet1 and used as a data source for the TabSheetBox. This procedure is used as a handler of the OnAfterEdit event.

Sub TabSheetBox1OnAfterEdit(Sender: Object; Args: ITabCellAfterEditEventArgs);

Var

s: String;

Begin

If Args.Changed Then

s :="Changed";

Else

s :="Don’t changed";

End If;

End Sub TabSheetBox1OnAfterEdit;

After the event the "b" variable will contain Changed if the data of the edited cell have been changed.

See also:

ITabCellAfterEditEventArgs