[Lazarus] Exception dialog

Paul Ishenin webpirat at mail.ru
Mon Mar 16 14:44:31 CET 2009


Michael Van Canneyt wrote:
> Is there a reason why the default exception dialog has a cancel 
> button to kill the application ?
>
> We often use an exception to signal wrong entry of data or so, 
> because it stops all further processing.
>
> If the user then uses the cancel button, the program is simply 
> ended, which is not what we (or better: the users) want.
> And I imagine many others use this technique.
>   
This is strange for me too and I also often clicked cancel to just 
cancel that notification but it closed my application :)
I suggest to replace it with simple notification dialog with one button 
(like ShowMessage).

Best regards,
Paul Ishenin.



More information about the Lazarus mailing list