AddImage Method Example

The following example adds the image CustomButton10 to the Bitmap object Bitmap1 and then displays it by setting it to be the current image.

Bitmap1.AddImage "C:\Program Files (x86)\Proficy\iFIX\Local\CustomButton10.bmp"

Bitmap1.CurrentImage = Bitmap1.ImageCount