mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 16:40:48 +02:00
LCL: Always create enabled controls in designer. Regression revision 58448 #9733fa84ab. Delphi compatible.
git-svn-id: trunk@58740 -
This commit is contained in:
parent
f9781e8831
commit
1d1986b465
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user