RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Controls.mrCancel Constant

Indicates that Cancel was selected in a modal dialog.

Pascal
mrCancel = idCancel;
C++
mrCancel = idCancel;

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

 

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