diff --git a/lcl/interfaces/win32/win32wsforms.pp b/lcl/interfaces/win32/win32wsforms.pp index d8221dfa52..fb93b4bee7 100644 --- a/lcl/interfaces/win32/win32wsforms.pp +++ b/lcl/interfaces/win32/win32wsforms.pp @@ -234,7 +234,7 @@ var begin Result := 0; BorderIcons := AForm.BorderIcons; - if biSystemMenu in BorderIcons then + if (biSystemMenu in BorderIcons) or (csDesigning in AForm.ComponentState) then Result := Result or WS_SYSMENU; if GetDesigningBorderStyle(AForm) in [bsNone, bsSingle, bsSizeable] then begin