AddButtons Method

Adds a row of push buttons to the dialog box.

object.AddButtons aname, buttons
 

Arguments

object

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

aname

Required. A name for this group of push buttons.

buttons

An array of captions for the push buttons to be added.

Remarks
More than one row of buttons may be added, but this would be unusual.

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