setPicture(indx: Integer; pict: Binary);
The setPicture method sets the specified index entry of an array of pictures associated with the Picture control at run time.
The value specified in the indx parameter must be in the range 1 through 100. Use the pictureIndex property to indicate the picture that is displayed. By default, the value of the picture property is used unless it is overridden by the pictureDown or pictureDisabled properties. See also the pictureCount property.
Setting the picture property to an animated GIF removes any pictures created by using the setPicture method. Similarly, changing the value of the pictureCount property or using the setPicture method closes any animated GIF operation (but leaves the value of the picture property unchanged).