diff --git a/lcl/include/wincontrol.inc b/lcl/include/wincontrol.inc index 8ae2e56cbf..10f86f77a9 100644 --- a/lcl/include/wincontrol.inc +++ b/lcl/include/wincontrol.inc @@ -6095,7 +6095,7 @@ begin Params.ExStyle := Params.ExStyle or WS_EX_CLIENTEDGE; if TabStop then Params.Style := Params.Style or WS_TABSTOP; - if not IsEnabled then + if not IsEnabled and not (csDesigning in ComponentState) then Params.Style := Params.Style or WS_DISABLED; if (Parent <> nil) then