Cancel: Boolean;
The Cancel property determines whether the changes, made to table cell contents, should be cancelled. If the value of this property is True, the changes made to the table cell contents are to be cancelled. By default the value of the Cancel property is False.
To execute the example, it is necessary to set the procedure as event handler to the OnChangeCellContent event (changing content of a table cell) for the TabSheetBox component named TabSheetBox1.
Sub TabSheetBox1OnChangeCellContent(Sender: Object; Args: ITabCellContentChangeEventArgs);
Begin
Args.Cancel := True;
End Sub TabSheetBox1OnChangeCellContent;
As a result, the changes, made to the table cell contents, will be cancelled. Thus, editing the table values will be impossible.
See also: