summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2012-07-17 17:25:16 +0100
committerGraeme Geldenhuys <graemeg@gmail.com>2012-07-17 17:25:16 +0100
commit1de3f25a3f2482ff692543f2e1cf70e81bfb8a0a (patch)
tree8f202d8d6a68721f19395e4e2c8fe56db8f46561 /src
parent403e27613c78d05d33c77f986ff15bcff0055283 (diff)
downloadfpGUI-1de3f25a3f2482ff692543f2e1cf70e81bfb8a0a.tar.xz
TfpgWidget now consumes the F1 keypress to invoke context sensitive help.
Diffstat (limited to 'src')
-rw-r--r--src/corelib/fpg_widget.pas5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/corelib/fpg_widget.pas b/src/corelib/fpg_widget.pas
index 440645c4..dc7fd53d 100644
--- a/src/corelib/fpg_widget.pas
+++ b/src/corelib/fpg_widget.pas
@@ -964,6 +964,11 @@ begin
dir := -1
else
dir := 1;
+ keyF1:
+ begin
+ InvokeHelp;
+ consumed := True;
+ end;
{
keyReturn,
keyDown,