diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-08-30 21:25:44 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-08-30 21:25:44 +0200 |
commit | 605767127e8770d54766f051559b4a43ac9d06e6 (patch) | |
tree | 41dc301b9343a4373011c91e0c49208116a5ab4e /examples/apps/ide | |
parent | 89aabaace7ebd7dd0519529d23bbcc776833a526 (diff) | |
download | fpGUI-605767127e8770d54766f051559b4a43ac9d06e6.tar.xz |
textedit: ScrollTo() never updated the scrollbar positions
Diffstat (limited to 'examples/apps/ide')
-rw-r--r-- | examples/apps/ide/src/fpg_textedit.pas | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/apps/ide/src/fpg_textedit.pas b/examples/apps/ide/src/fpg_textedit.pas index 06345b46..c63bd3a8 100644 --- a/examples/apps/ide/src/fpg_textedit.pas +++ b/examples/apps/ide/src/fpg_textedit.pas @@ -1893,6 +1893,7 @@ procedure TfpgBaseTextEdit.ScrollTo(X, Y: Integer); begin SetVPos(Y div FChrH); SetHPos(X div FChrW); + UpdateScrollBars; end; procedure TfpgBaseTextEdit.GotoLine(ALine: integer); |