UpdForeground Method
The UpdForeground method forces a change to the foreground of a bar field.
This method has the following syntax:
BarField.UpdForeground()
Use this method to refresh the display of a BarField object after changing the contents of the BitmapObject object referenced by the FgBitmap attribute. Invoke the UpdForeground method only when the foreground pattern is FP_BITMAP and the FgBitmap attribute itself has not changed.