From 3db7adb945127cc504c011a7d022574f02b4f9e4 Mon Sep 17 00:00:00 2001 From: wp_xyz Date: Sat, 17 Jun 2023 17:13:41 +0200 Subject: [PATCH] Documentation: Clarify the meaning of "physical" in grids' OffsetToColRow (https://forum.lazarus.freepascal.org/index.php/topic,63694.msg482898) --- docs/xml/lcl/grids.xml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/xml/lcl/grids.xml b/docs/xml/lcl/grids.xml index e9deacb50f..35de3abf6c 100644 --- a/docs/xml/lcl/grids.xml +++ b/docs/xml/lcl/grids.xml @@ -15035,7 +15035,7 @@ control. -Moves to a column or row located at the specified offset. +Determines the index of a column or row for a the specified offset. @@ -15056,17 +15056,21 @@ offset. -True for a physical offset, False for a logical offset. +True for a physical offset (i.e. relative to the scrolled grid), +False for a logical offset (i.e. relative to the unscrolled grid). -Offset in pixels for the column or row. +Distance of the location to be tested (in pixels) from the left edge of +the grid (in case of IsCol=true) or the top edge of the grid (in case of IsCol=false). -Index position for the column or row in the specified offset. +Index of the column or row at the specified offset. -Remaining pixels stating at the value in Index. +Remaining pixels between the Offset value and the left edge of the column +(in case of IsCol=true) or the top edge of the row (in case of IsCol=false) +identified by Index.