RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Controls.mrCancel Constant

Indicates that Cancel was selected in a modal dialog.

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

Controls

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

 

MessageDlg 

MsgDlgBtn 

TModalResult

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!