mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-04 04:18:22 +01:00
IDE: exception dialog: use &-prefixed button captions; execute continue on escape key press.
git-svn-id: trunk@52203 -
This commit is contained in:
parent
acad841fe6
commit
9bc9b19188
@ -73,12 +73,15 @@ constructor TIDEExceptionDlg.Create(AOwner: TComponent);
|
||||
begin
|
||||
inherited Create(AOwner);
|
||||
Caption := lisExceptionDialog;
|
||||
btnBreak.Caption := lisBreak;
|
||||
btnContinue.Caption := lisContinue;
|
||||
btnBreak.Caption := lisMenuBreak;
|
||||
btnContinue.Caption := lisMenuContinue;
|
||||
cbIgnoreExceptionType.Caption := lisIgnoreExceptionType;
|
||||
|
||||
btnBreak.LoadGlyphFromResourceName(HInstance, 'menu_pause');
|
||||
btnContinue.LoadGlyphFromResourceName(HInstance, 'menu_run');
|
||||
|
||||
DefaultControl := btnBreak;
|
||||
CancelControl := btnContinue;
|
||||
end;
|
||||
|
||||
function TIDEExceptionDlg.Execute(AMessage: String; out IgnoreException: Boolean): TModalResult;
|
||||
|
||||
@ -86,7 +86,9 @@ resourcestring
|
||||
lisNever = 'Never';
|
||||
lisAlways = 'Always';
|
||||
lisContinue = 'Continue';
|
||||
lisMenuContinue = '&Continue';
|
||||
lisBreak = 'Break';
|
||||
lisMenuBreak = '&Break';
|
||||
lisExit = 'Exit';
|
||||
lisQuit = 'Quit';
|
||||
lisBtnQuit = '&Quit';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user