diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2012-07-17 17:25:16 +0100 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2012-07-17 17:25:16 +0100 |
commit | 1de3f25a3f2482ff692543f2e1cf70e81bfb8a0a (patch) | |
tree | 8f202d8d6a68721f19395e4e2c8fe56db8f46561 /src | |
parent | 403e27613c78d05d33c77f986ff15bcff0055283 (diff) | |
download | fpGUI-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.pas | 5 |
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, |