mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 20:20:16 +02:00
lcl: formatting
git-svn-id: trunk@20769 -
This commit is contained in:
parent
b3be50f764
commit
dcc7044d85
@ -478,7 +478,8 @@ begin
|
||||
|
||||
UpdateDesignerFlags(Index);
|
||||
|
||||
if HandleAllocated and (not (csLoading in ComponentState)) then begin
|
||||
if HandleAllocated and (not (csLoading in ComponentState)) then
|
||||
begin
|
||||
AddRemovePageHandle(APage);
|
||||
if PageIndex = Index then
|
||||
DoSendPageIndex;
|
||||
|
@ -243,7 +243,8 @@ var
|
||||
List: TList;
|
||||
i: Integer;
|
||||
begin
|
||||
if (Parent<>nil) and (Parent is TCustomNotebook) then begin
|
||||
if (Parent <> nil) and (Parent is TCustomNotebook) then
|
||||
begin
|
||||
Result := 0;
|
||||
List := TCustomNotebook(Parent).PageList;
|
||||
i := 0;
|
||||
@ -253,7 +254,7 @@ begin
|
||||
if TCustomPage(List[i]).TabVisible or (csDesigning in ComponentState)
|
||||
then inc(Result);
|
||||
inc(i);
|
||||
until false;
|
||||
until False;
|
||||
end else
|
||||
Result := -1;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user