Language Reference Guide : 4. System Classes : CellAttribute Class : UpdBackground Method
 
Share this page                  
UpdBackground Method
The UpdBackground method forces a change to the background of a field displayed in a table field.
This method has the following syntax:
table_field[index].column_field.UpdBackground()
Use this method to refresh the display of a field displayed in a table field after you have changed the contents of the BitmapObject object referenced by the BgBitmap attribute.
You do not need to use this method if you explicitly change the BgBitmap attribute to use a different BitmapObject for the field background. You only need to call this method if you load a different image into the same BitmapObject already pointed to by the BgBitmap attribute using, for instance, the FileHandle attribute. For example:
field(personaldata[*].name).cellattribute(record = field(personaldata).CurRow).BgBitmap.FileHandle = 'c:\windows\honey.bmp';
field(personaldata[*].name).UpdBackground();