LCL: WinControl: Fixed revision 58448 #9733fa84ab: Create disabled control when control is disabled in designer. Issue #33923

git-svn-id: trunk@58497 -
This commit is contained in:
michl 2018-07-12 09:06:48 +00:00
parent 3af5473c5e
commit 1a0431a7ad

View File

@ -6095,6 +6095,8 @@ begin
Params.ExStyle := Params.ExStyle or WS_EX_CLIENTEDGE;
if TabStop then
Params.Style := Params.Style or WS_TABSTOP;
if not IsEnabled then
Params.Style := Params.Style or WS_DISABLED;
if (Parent <> nil) then
Params.WndParent := Parent.Handle