![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
Summary: | Disable scrolling | ||
---|---|---|---|
Product: | TeeGrid for Delphi | Reporter: | yeray alonso <yeray> |
Component: | Grid | Assignee: | david berneda <david> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | --- | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows | ||
URL: | https://www.steema.com/support/viewtopic.php?p=79836#p79836 | ||
Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: |
Description
yeray alonso
2023-07-31 09:54:48 EDT
Work in progress. Already done in v1.15: Scrolling.Active is now a read-only boolean property. It is set internally to True when a scrolling operation by mouse dragging or finger touch panning is currently in progress. It is not intended to be modified by end-user code. Fixes will be done to use Scrolling Mode and Direction properties in more situations. These are currently used when dragging cells only. Scrolling a grid can be done in several ways: 1) By code, changing the currently selected cell or cells range. 2) Vertical scroll using the mouse wheel, if enabled. 3) Using the arrow keys to select cells outside the current viewport, thus needing to scroll. 4) Clicking or dragging the scrollbars (mouse or touch). 5) Dragging and panning over the cells area, by mouse or touch. 6) Changing by code the scrollbars position Value, to force them to scroll. In all those cases the Scrolling Mode and Direction properties can be considered, but scrollbar dragging is managed by Firemonkey/Vcl so the scrollbars thumbs will move but the grid will not scroll. Maybe better to hide the scrollbars to not confuse the end user. |