lcl: change active control when a child form is focused too

git-svn-id: trunk@30057 -
This commit is contained in:
paul 2011-03-29 03:20:19 +00:00
parent 32fe9f12d1
commit a84af3e7a0

View File

@ -1289,7 +1289,7 @@ begin
NewActiveControl := nil;
NewFocus := 0;
if (ActiveControl = nil) and (not (csDesigning in ComponentState)) and (Parent=nil) then
if (ActiveControl = nil) and not (csDesigning in ComponentState) then
begin
// automatically choose a control to focus
{$IFDEF VerboseFocus}