Pop-up a Message Dialog to Confirm an Action
1
This snippet shows how to properly implement a message dialog (messagedlg) to confirm some action or event with Delphi.
if MessageDlg('Are you sure?', mtConfirmation, [mbYes, mbNo], 0) = mrYes then
begin
{ Put code here to do whatever you are confirming
that the user wants to do }
end;
Comments
Wed. Oct. 25th, 2006 1:45 PM
ctiggerf
ctiggerf
Fri. Oct. 27th, 2006 9:01 AM
bright
bright





