Selecting is now cancelled if grid lost focus

git-svn-id: trunk@8077 -
This commit is contained in:
jesus 2005-11-06 17:59:57 +00:00
parent ceb3ef6c72
commit a76e28c702

View File

@ -4285,6 +4285,11 @@ begin
{$IfDef dbgGrid}DebugLn('DoExit - Ext');{$Endif}
if not EditorAlwaysShown then
InvalidateFocused;
if FgridState=gsSelecting then begin
if SelectActive then
FSelectActive := False;
FGridState := gsNormal;
end;
end;
inherited DoExit;
end;