ComponentOne True DBGrid Pro 8
CurrentCellModified Property

CurrentCellModified Property

Sets or returns modification status of the current cell.

Syntax

TDBGrid.CurrentCellModified= boolean

Remarks

Read/Write at run time. Not available at design time.

This property returns True if editing is in progress and the current cell (indicated by the Bookmark and Col properties) has been modified by the user. It returns False if the cell has not been modified or if editing is not in progress.

You can use this property to cancel any changes the user has made to the current text. For example, to program a function key to discard the user's changes (like the Esc key), trap the key code in the grid's KeyDown event and set CurrentCellModified to False. This will revert the current cell to its original contents.

See Also

TDBGrid Control

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback