MessageDialog.defaultResponse

string defaultResponse() @property

Get defaultResponse property.

Returns

The response ID of the default response.

If set, pressing <kbd>Enter</kbd> will activate the corresponding button.

If set to NULL or a non-existent response ID, pressing <kbd>Enter</kbd> will do nothing.

void defaultResponse(string propval) @property

Set defaultResponse property.

Parameters

propvalThe response ID of the default response. If set, pressing <kbd>Enter</kbd> will activate the corresponding button. If set to NULL or a non-existent response ID, pressing <kbd>Enter</kbd> will do nothing.