RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Controls.mrOk Constant

Indicates that OK was selected in a modal dialog.

Pascal
mrOk = idOk;
C++
mrOk = idOk;

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

 

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