added wsMinimized check to ShowOnTop

git-svn-id: trunk@8879 -
This commit is contained in:
mattias 2006-03-07 11:38:32 +00:00
parent e3de45822b
commit 90502c4356

View File

@ -1466,6 +1466,7 @@ end;
procedure TCustomForm.ShowOnTop;
begin
Show;
if WindowState=wsMinimized then WindowState:=wsNormal;
BringToFront;
//DebugLn('TCustomForm.ShowOnTop ',Name,':',ClassName,' ',Visible,' ',HandleAllocated,' ',csDesigning in ComponentState);
end;