mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 03:41:41 +02:00
MG: TNoteBook now starts with no Page and TPage has no auto names
git-svn-id: trunk@3274 -
This commit is contained in:
parent
c191a0955a
commit
80e7e46dbd
@ -1731,7 +1731,10 @@ begin
|
||||
with NoteBook do begin
|
||||
Name:='NoteBook';
|
||||
Parent:=Self;
|
||||
Pages.Strings[0]:='Properties';
|
||||
if PageCount>0 then
|
||||
Pages.Strings[0]:='Properties'
|
||||
else
|
||||
Pages.Add('Properties');
|
||||
Pages.Add('Events');
|
||||
PopupMenu:=MainPopupMenu;
|
||||
Align:= alClient;
|
||||
|
@ -1061,7 +1061,10 @@ begin
|
||||
Name:='NoteBook';
|
||||
Parent:=Self;
|
||||
SetBounds(0,0,Self.ClientWidth,Self.ClientHeight-50);
|
||||
Pages[0]:='Desktop';
|
||||
if PageCount>0 then
|
||||
Pages[0]:='Desktop'
|
||||
else
|
||||
Pages.Add('Desktop');
|
||||
Pages.Add('Form Editor');
|
||||
Pages.Add('Object Inspector');
|
||||
Pages.Add('Files');
|
||||
|
@ -398,7 +398,10 @@ begin
|
||||
Name:='Notebook';
|
||||
Parent:=Self;
|
||||
SetBounds(0,0,Self.ClientWidth,Self.ClientHeight-50);
|
||||
Pages[0]:='Local';
|
||||
if PageCount>0 then
|
||||
Pages[0]:='Local'
|
||||
else
|
||||
Pages.Add('Local');
|
||||
Pages.Add('Environment');
|
||||
Visible:=true;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user