AddImageButtons Method

Adds a row of images that act like push buttons to the dialog box.

object.AddImageButtons aname, captions_and_images
 

Arguments

object

Required.  A variable containing a dialog object created by calling CreateObject or new ActiveXControl.

aname

Required. A name for this group of image buttons.

captions_and_images

An array of that provides both the captions and the image file names for all the buttons in this group.

Remarks
For each image button, the array must contain first the caption for the button followed immediately by the name of the image file to be used for the button. That is followed caption for the next button, followed immediately by the name of the image file to use for the next button, and so forth.

Example
See Buttons in VBScript, Buttons in JScript, Buttons in PerlScript.