RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Controls.mrYes Constant

Indicates that Yes was selected in a modal dialog.

Pascal
mrYes = idYes;
C++
mrYes = idYes;

Controls

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

 

MessageDlg 

MsgDlgBtn 

TModalResult

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