From bdfcef7ae65e452fb61db8fdd9bf870766a167f7 Mon Sep 17 00:00:00 2001 From: livecodesam Date: Fri, 14 May 2021 10:24:17 +0100 Subject: [PATCH 1/2] [Bugfix-22979] Add dgRectofIndex to DataGrid docs --- Documentation/dictionary/datagrid.lcdoc | 36 +++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/Documentation/dictionary/datagrid.lcdoc b/Documentation/dictionary/datagrid.lcdoc index c3e1608124..6549df89b1 100644 --- a/Documentation/dictionary/datagrid.lcdoc +++ b/Documentation/dictionary/datagrid.lcdoc @@ -1787,6 +1787,42 @@ Description: Returns the index associated with the given line. +Name: dgRectOfIndex + +Type: property + +Associations: datagrid + +Syntax: get the dgRectOfIndex[pIndex] of group "DataGrid" + +Summary: Get/set the rect of the control associated with the given index + +Description: + +Returns the rect of the control connected with pIndex. Rect +is relative to this group but takes into account the current vScroll. +This may not prove very useful if you don't have control caching on. + + + + +Name: dgRectOfLine + +Type: property + +Associations: datagrid + +Syntax: get the dgRectOfLine[pLine] of group "DataGrid" + +Summary: Get/set the rect of the control associated with the given line + +Description: + +Returns the rect of the control connected with pLine. Rect +is relative to this group but takes into account the current vScroll. +This may not prove very useful if you don't have control caching on. + + Name: dgVScroll From f7bdfc6cfb8b25dd777111f80efdbe7a07e99cb2 Mon Sep 17 00:00:00 2001 From: livecodesam Date: Fri, 14 May 2021 10:31:04 +0100 Subject: [PATCH 2/2] [Bugfix-22979] Add dgRectofIndex to DataGrid docs --- notes/bugfix-22979.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 notes/bugfix-22979.md diff --git a/notes/bugfix-22979.md b/notes/bugfix-22979.md new file mode 100644 index 0000000000..92fac0d377 --- /dev/null +++ b/notes/bugfix-22979.md @@ -0,0 +1 @@ +# Added dgRectOfIndex and dgRectOfLine to DataGrid documentation