summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-03-25 07:40:43 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-03-25 07:40:43 +0000
commit504502abd0c8525a547deabcf890855513d43e4b (patch)
treecc6847d93e27ac6be7a163a69220a0e92b3f6a2b
parent7a052fef4639d92b9ee24ffa78ab3da834d61b5c (diff)
downloadfpGUI-504502abd0c8525a547deabcf890855513d43e4b.tar.xz
* Applied minor patch from Jean-Marc to allow scrollbars to be adjusted when Grid.RowCount is set.
-rw-r--r--src/gui/gui_customgrid.pas1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/gui_customgrid.pas b/src/gui/gui_customgrid.pas
index c7189554..5cdf6fc0 100644
--- a/src/gui/gui_customgrid.pas
+++ b/src/gui/gui_customgrid.pas
@@ -191,6 +191,7 @@ begin
FocusRow := FRowCount;
end;
DoSetRowCount(AValue); // could be implemented by descendants
+ UpdateScrollBars;
RePaint;
end;