Thread: Yes/ No Dialog
View Single Post
Old Oct 28th, 2005, 9:40 AM   #4
ekamaloff
Newbie
 
Join Date: Oct 2005
Posts: 3
Rep Power: 0 ekamaloff is on a distinguished road
Simply write the following:

if MessageDlg('Confirmation text', mtConfirmation, [mbYes, mbNo], 0) = mrYes then
begin
    {...}
end;
ekamaloff is offline   Reply With Quote