Object Reference > True DBGrid Events > ClassicRead Event |
ClassicRead Event
The ClassicRead event is fired when an unbound grid (one with its DataMode property set to 3) needs to display the value of a cell as specified by the Bookmark and CoI arguments.
object_ClassicRead (Bookmark As Variant, ByVal Col As Integer, Value As Variant)
Arguments
Bookmark is a variant that identifies the row being requested.
Col is an integer that identifies the column being requested.
Value is a variant used to transfer unbound column data to the grid.
To return an unbound value to the grid, simply set the Value argument to the desired result. If you do not assign a value, the cell will remain blank.