Icon AddButton Method

function AddButton(ButtonType: TMsgDlgBtn): TDialogButton

Available In: Visual Client Applications

Use this method to add a new dialog button to the dialog. The button type determines the caption and behavior of the dialog button.
Image