MessageDialog.setResponseLabel

void setResponseLabel(string response, string label)

Sets the label of response to label.

Labels are displayed on the dialog buttons. An embedded underline in label indicates a mnemonic.

Parameters

responsea response ID
labelthe label of response