summaryrefslogtreecommitdiff
path: root/examples/gui
diff options
context:
space:
mode:
authorJean-Marc.Levecque <jmarc.levecque@bbox.fr>2014-12-06 16:32:21 +0000
committerGraeme Geldenhuys <graemeg@gmail.com>2014-12-06 16:32:21 +0000
commit61ff9bc373a3acad80ad68d1c78aeaca6950e243 (patch)
treec0192d6772122a1957e4a71ced8bc87667e73dba /examples/gui
parent01bfc8fe202d026f3365de2ac5a2f086c96cf53c (diff)
downloadfpGUI-61ff9bc373a3acad80ad68d1c78aeaca6950e243.tar.xz
Add optional scrollbar styles
Diffstat (limited to 'examples/gui')
-rw-r--r--examples/gui/gridtest/gridtest.lpr11
1 files changed, 10 insertions, 1 deletions
diff --git a/examples/gui/gridtest/gridtest.lpr b/examples/gui/gridtest/gridtest.lpr
index 173806e9..4b53f260 100644
--- a/examples/gui/gridtest/gridtest.lpr
+++ b/examples/gui/gridtest/gridtest.lpr
@@ -17,7 +17,8 @@ uses
fpg_checkbox,
fpg_tab,
fpg_edit,
- fpg_dialogs;
+ fpg_dialogs,
+ fpg_scrollbar;
type
@@ -256,6 +257,14 @@ begin
OnDrawCell := @StringGridDrawCell;
OnDoubleClick := @StringGridDoubleClicked;
OnHeaderClick := @StringGridHeaderClicked;
+ // Testing various scrollbar styles
+// ScrollBarStyle:= ssNone;
+// ScrollBarStyle:= ssHorizontal;
+// ScrollBarStyle:= ssVertical;
+ ScrollBarStyle:= ssAutoBoth;
+// ScrollBarStyle:= ssHorizVisible;
+// ScrollBarStyle:= ssVertiVisible;
+// ScrollBarStyle:= ssBothVisible;
end;
chkShowHeader := TfpgCheckBox.Create(self);