summaryrefslogtreecommitdiff
path: root/examples/apps/ide/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2013-03-15 15:00:10 +0000
committerGraeme Geldenhuys <graemeg@gmail.com>2013-03-15 15:08:38 +0000
commit1a584b775c87368998f7497e1cbe289fa8dda581 (patch)
tree3ed6693a7cc0e4bf40da37978a5e1e42594fdd80 /examples/apps/ide/src
parent0ab06d1208c264023e2aebb37ba83b761219ff87 (diff)
downloadfpGUI-1a584b775c87368998f7497e1cbe289fa8dda581.tar.xz
ide: Find dialog can now be closed/cancelled with Esc key.
Diffstat (limited to 'examples/apps/ide/src')
-rw-r--r--examples/apps/ide/src/frm_find.pas5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/apps/ide/src/frm_find.pas b/examples/apps/ide/src/frm_find.pas
index 03e27dd2..652d104d 100644
--- a/examples/apps/ide/src/frm_find.pas
+++ b/examples/apps/ide/src/frm_find.pas
@@ -88,6 +88,11 @@ begin
begin
Consumed := True;
btnFind.Click;
+ end
+ else if KeyCode = keyEscape then
+ begin
+ Consumed := True;
+ Close;
end;
end;