Skip to content

GitLab

    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    • Menu
    Projects Groups Snippets
  • Sign up now
  • Login
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,080
    • Issues 2,080
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • Lazarus
  • LazarusLazarus
  • Issues
  • #20127
Closed
Open
Created Sep 01, 2011 by FPC Admin account@fpc_adminOwner

TScrollBar control scrolls too far when PageSize is nonzero

Original Reporter info from Mantis: zex2011
  • Reporter name: Zex Atilla

Description:

Assume a vertical TScrollBar with these properties:

ScrollBar.Min := 1;
ScrollBar.Max := 100;
ScrollBar.PageSize := 20;

With this setup the ScrollBar.Position should never reach 100 because PageSize is 20. This value is deducted from Max.

Let's see if it works. Move the scrollbar "handle" to the bottom. Ok, the Scrollbar.Position has reached 81 and stopped. Nice.

Now, let's click the down arrow on the scrollbar. Surprisingly, Scrollbar.Position has moved to 82. Click and hold the down arrow. Scrollbar will increase position up to 100, completely ignoring the PageSize.

Mantis conversion info:

  • Mantis ID: 20127
  • Version: 0.9.30
  • Fixed in revision: 52150 (#7ffbcd77),52151 (#8977b0ad),52154 (#39279083),52155 (#441c5e04),52156 (#6b5c5479)
  • Monitored by: » GAMER (Miroslav Nyameshchuk), » russdirks (Russel Dirks), » zex2011 (Zex Atilla)
Assignee
Assign to
Time tracking