RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Controls.mrClose Constant

Indicates that 'Close' was selected in a modal dialog.

Pascal
mrClose = mrYesToAll + 1;
C++
mrClose = mrYesToAll + 1;

The MessageDlg function provides a convenient mechanism for asking the user for a decision. mrClose is returned TModalResult value when the TMsgDlgBtn mbClose button was pressed. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!