EhLib
ContentsIndexHome
PreviousUpNext
DBAxisGridsEh.TColCellUpdateDataEventEh Type

Occurs when grid is going to write data from InplaceEditor in DataSet field.

Pascal
TColCellUpdateDataEventEh = procedure (Sender: TObject; var Text: String; var Value: Variant; var UseText: Boolean; var Handled: Boolean) of object;

Write an OnUpdateData event handler to take specific action when grid is going to write data from InplaceEditor in DataSet field. You can change text or value. UseText defines what parameter is used for writing: Text or Value. You may themselves write data to the field and set Handled in True.

Copyright (c) 1998-2013. All rights reserved.
What do you think about this topic? Send feedback!