|
@@ -189,6 +189,7 @@ begin
|
|
|
FForm.Visible := True;
|
|
FForm.Visible := True;
|
|
|
if FListBox.CanSetFocus then
|
|
if FListBox.CanSetFocus then
|
|
|
FListBox.SetFocus;
|
|
FListBox.SetFocus;
|
|
|
|
|
+ FTimerCheckFormHide.Enabled:= true;
|
|
|
end;
|
|
end;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
@@ -391,6 +392,7 @@ begin
|
|
|
begin
|
|
begin
|
|
|
FForm.Visible := false;
|
|
FForm.Visible := false;
|
|
|
FreeAndNil(FForm);
|
|
FreeAndNil(FForm);
|
|
|
|
|
+ FTimerCheckFormHide.Enabled := false;
|
|
|
end;
|
|
end;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
@@ -592,7 +594,6 @@ begin
|
|
|
|
|
|
|
|
FTimerCheckFormHide := TTimer.Create(self);
|
|
FTimerCheckFormHide := TTimer.Create(self);
|
|
|
FTimerCheckFormHide.Interval:= 30;
|
|
FTimerCheckFormHide.Interval:= 30;
|
|
|
- FTimerCheckFormHide.Enabled:= true;
|
|
|
|
|
FTimerCheckFormHide.OnTimer:= OnTimerCheckFormHide;
|
|
FTimerCheckFormHide.OnTimer:= OnTimerCheckFormHide;
|
|
|
end;
|
|
end;
|
|
|
|
|
|