win32: skip AlphaBlend in design time (issue #0017080)

git-svn-id: trunk@26975 -
This commit is contained in:
paul 2010-08-02 09:03:05 +00:00
parent 3ecb4329dc
commit d53a9b30fa

View File

@ -396,7 +396,7 @@ begin
( not (csDesigning in lForm.ComponentState) and
(lForm.ShowInTaskBar = stAlways)) then
FlagsEx := FlagsEx or WS_EX_APPWINDOW;
if lForm.AlphaBlend then
if not (csDesigning in lForm.ComponentState) and lForm.AlphaBlend then
FlagsEx := FlagsEx or WS_EX_LAYERED;
end;
SetStdBiDiModeParams(AWinControl, Params);