summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2010-09-12 01:00:28 +0200
committerGraeme Geldenhuys <graemeg@gmail.com>2010-09-12 01:00:28 +0200
commit744ee3be3db4965d850b2239c5f4bdf44a58a926 (patch)
treec4a4521e4bcb5273d049118f865e0624ae827598 /src
parent19eb36215fe16cae9cd40ca4684109c51d5bb0b6 (diff)
downloadfpGUI-744ee3be3db4965d850b2239c5f4bdf44a58a926.tar.xz
treeview: Adds PgUp/PgDown key handling support
Diffstat (limited to 'src')
-rw-r--r--src/gui/fpg_tree.pas11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/gui/fpg_tree.pas b/src/gui/fpg_tree.pas
index f092ef48..f4cccb8b 100644
--- a/src/gui/fpg_tree.pas
+++ b/src/gui/fpg_tree.pas
@@ -1789,7 +1789,16 @@ begin
Selection := RootNode.FirstSubNode;
end;
end;
-
+
+ keyPageUp:
+ begin
+ FVScrollbar.PageUp;
+ end;
+
+ keyPageDown:
+ begin
+ FVScrollbar.PageDown;
+ end;
else
Consumed := False;
end;