From 498fd01a3854ec211253c8f5d67794b9b03e5249 Mon Sep 17 00:00:00 2001 From: alexs75 Date: Thu, 9 Jan 2014 19:00:14 +0000 Subject: [PATCH] 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 --- components/rx/trunk/rxmdi.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/rx/trunk/rxmdi.pas b/components/rx/trunk/rxmdi.pas index d020ee531..e09a65038 100644 --- a/components/rx/trunk/rxmdi.pas +++ b/components/rx/trunk/rxmdi.pas @@ -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;