4. System Classes : FormField Class : UpdBackground Method
 
Share this page                  
UpdBackground Method
The UpdBackground method changes a field's background.
This method has the following syntax:
FormField.UpdBackground()
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();