Object Reference > True DBGrid Properties > PictureModifiedRow Property |
This property sets or returns the bitmap used in the record selector column to indicate the current row when there are unsaved modifications pending.
TDBGrid.PictureModifiedRow= variant
Read/Write at run time and design time.
By default, True DBGrid uses a pencil to indicate that the current row is modified.
However, you can specify a different bitmap at design time using the General property page. Or, you can assign a bitmap to the PictureModifiedRow property in code at run time:
TDBGrid1.PictureModifiedRow = LoadPicture("pencil.bmp")
Note
The grid draws 3-D effects within the record selector column, so you need only provide the interior image. Use the TransparentRowPictures property to specify a background mask.