Skip to content

Commit d9fdf89

Browse files
committed
Added in tcustommseform.dooncreate: SetChildBounds(self) for transparent forms.
1 parent 9ff5464 commit d9fdf89

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/common/widgets/mseforms.pas

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,6 +1069,7 @@ constructor tcustommseform.create(aowner: tcomponent; load: boolean);
10691069
end;
10701070
if not (acs_dooncreatecalled in factstate) then begin
10711071
dooncreate;
1072+
10721073
end;
10731074
if not load then begin
10741075
// autoreadstat;
@@ -1166,6 +1167,9 @@ procedure tcustommseform.dooncreate;
11661167
beginsuspendgloballoading;
11671168
try
11681169
foncreate(self);
1170+
if (wo_transparentbackground in foptionswindow) or
1171+
(wo_transparentbackgroundellipse in foptionswindow) or
1172+
(wo_transparentbackgroundround in foptionswindow) then SetChildBounds(self);
11691173
finally
11701174
endsuspendgloballoading;
11711175
end;

0 commit comments

Comments
 (0)