RxMDI - fix change active window after hide active control

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2882 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
alexs75
2014-01-09 19:00:14 +00:00
parent 48751408f2
commit 498fd01a38

View File

@ -755,7 +755,7 @@ begin
//FNavForm.BringToFront;
FNavPanel.FMainPanel.CurrentChildWindow:=NavForm;
//Application.MainForm.ActiveControl:=NavForm.ActiveControl;
if Assigned(FActiveControl) then
if Assigned(FActiveControl) and FActiveControl.HandleObjectShouldBeVisible then
FActiveControl.SetFocus;
end;
Down:=true;