Object Reference > True DBGrid Properties > PictureAddNewRow Property |
This property sets or returns the bitmap used in the record selector column to indicate the AddNew row, which is displayed after the last data row when the AllowAddNew property is True.
TDBGrid.PictureAddNewRow= variant
Read/Write at run time and design time.
By default, True DBGrid uses an asterisk to indicate the AddNew row.
However, you can specify a different bitmap at design time using the General property page. Or, you can assign a bitmap to the PictureAddNewRow property in code at run time:
TDBGrid1.PictureAddNewRow = LoadPicture("asterisk.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.