... and another trap that Steve didn't mention - the default option of
Escape key returning mrCancel! So even if you remove the little [x] box from
the dialog the unhappy user can simply press Escape and foil your poorly
written code.

We briefly toyed with the idea of implementing MyMessageDlg with a mbToyota
option (caption = "Bugger") for those special moments that Microsoft give
you, with a dialog something like "Your hard drive has just exploded. You
are about to lose lots of really important stuff." and they only provide an
mbOK option.


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to