diff options
author | Jean-Marc.Levecque <jmarc.levecque@bbox.fr> | 2014-12-06 16:32:21 +0000 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2014-12-06 16:32:21 +0000 |
commit | 61ff9bc373a3acad80ad68d1c78aeaca6950e243 (patch) | |
tree | c0192d6772122a1957e4a71ced8bc87667e73dba /examples/gui | |
parent | 01bfc8fe202d026f3365de2ac5a2f086c96cf53c (diff) | |
download | fpGUI-61ff9bc373a3acad80ad68d1c78aeaca6950e243.tar.xz |
Add optional scrollbar styles
Diffstat (limited to 'examples/gui')
-rw-r--r-- | examples/gui/gridtest/gridtest.lpr | 11 |
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); |