mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 08:59:13 +02:00
formatting
git-svn-id: trunk@14817 -
This commit is contained in:
parent
ce0cf00e3d
commit
104762c2a8
@ -3234,7 +3234,8 @@ procedure TControl.SetVisible(Value : Boolean);
|
|||||||
var
|
var
|
||||||
AsWincontrol: TWinControl;
|
AsWincontrol: TWinControl;
|
||||||
begin
|
begin
|
||||||
if FVisible <> Value then begin
|
if FVisible <> Value then
|
||||||
|
begin
|
||||||
//DebugLn(['TControl.SetVisible ',DbgSName(Self),' NewVisible=',Value]);
|
//DebugLn(['TControl.SetVisible ',DbgSName(Self),' NewVisible=',Value]);
|
||||||
VisibleChanging;
|
VisibleChanging;
|
||||||
FVisible := Value;
|
FVisible := Value;
|
||||||
@ -3245,7 +3246,8 @@ begin
|
|||||||
AsWincontrol := TWinControl(Self)
|
AsWincontrol := TWinControl(Self)
|
||||||
else
|
else
|
||||||
AsWincontrol := nil;
|
AsWincontrol := nil;
|
||||||
if FVisible then begin
|
if FVisible then
|
||||||
|
begin
|
||||||
if AsWincontrol <> nil then
|
if AsWincontrol <> nil then
|
||||||
Include(AsWincontrol.FWinControlFlags, wcfReAlignNeeded);
|
Include(AsWincontrol.FWinControlFlags, wcfReAlignNeeded);
|
||||||
AdjustSize;
|
AdjustSize;
|
||||||
|
Loading…
Reference in New Issue
Block a user