mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-18 17:10:35 +01:00
LCL, grids, check for valid editor
git-svn-id: trunk@42991 -
This commit is contained in:
parent
189a3c9fa2
commit
6ab0ade4ee
@ -7357,7 +7357,8 @@ end;
|
|||||||
function TCustomGrid.Focused: Boolean;
|
function TCustomGrid.Focused: Boolean;
|
||||||
begin
|
begin
|
||||||
Result := CanTab and (HandleAllocated and
|
Result := CanTab and (HandleAllocated and
|
||||||
(FindOwnerControl(GetFocus)=Self) or (FEditor.Visible and FEditor.Focused));
|
(FindOwnerControl(GetFocus)=Self) or
|
||||||
|
((FEditor<>nil) and FEditor.Visible and FEditor.Focused));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TCustomGrid.InvalidateCell(aCol, aRow: Integer);
|
procedure TCustomGrid.InvalidateCell(aCol, aRow: Integer);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user