From ecdecd6aa6c6b92c037dfa59d1e7de9e1cd1771e Mon Sep 17 00:00:00 2001 From: dsiders Date: Tue, 17 May 2022 22:53:31 +0100 Subject: [PATCH] Docs: LCL/grids. Updates TCustomGrid.MouseDown for changes in 7f199b0d. Issue #397330. --- docs/xml/lcl/grids.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/xml/lcl/grids.xml b/docs/xml/lcl/grids.xml index b13c4297b4..c3d474a1ec 100644 --- a/docs/xml/lcl/grids.xml +++ b/docs/xml/lcl/grids.xml @@ -10633,10 +10633,10 @@ MouseDown calls the inherited method to handle focus changes for the control and drag operations. The OnMouseDown event handler is signalled (when assigned) by the ancestor.

- No additional actions are performed in the method at design-time, or when the mouse Button is not allowed in the grid control. + No additional actions are performed in the method at design-time, when the mouse Button is not allowed in the grid control, or when the control cannot receive focus.

- MouseDown ensures that the grid control is focused and updates GCache with the coordinates for the mouse down event. The grid "hot" zone in the cached information determines the value assigned to GridState, GridFlags, CursorState and the actions performed for the mouse event. + MouseDown ensures that the grid control is focused when visible and enabled, and does not contain csNoFocus in the ControlStyle flags. MouseDown updates GCache with the coordinates for the mouse down event. The grid "hot" zone in the cached information determines the value assigned to GridState, GridFlags, CursorState and the actions performed for the mouse event.

gzFixedCells