mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-10 13:39:14 +02:00
notebook pageindex can be set to -1, if interface supports it
git-svn-id: trunk@3699 -
This commit is contained in:
parent
4356dd7165
commit
ca8385c210
@ -660,10 +660,6 @@ begin
|
||||
if not HandleAllocated or (csLoading in ComponentState) then exit;
|
||||
Msg.Parent := Self;
|
||||
Msg.fCompStyle := fCompStyle;
|
||||
if (FPageIndex<0) and (PageCount>0) then begin
|
||||
fPageIndex:=0;
|
||||
UpdateAllDesignerFlags;
|
||||
end;
|
||||
Msg.Page := fPageIndex;
|
||||
{$IFDEF NOTEBOOK_DEBUG}
|
||||
writeln('[TCustomNotebook.DoSendPageIndex] A ',Name,' PageIndex=',fPageIndex);
|
||||
@ -736,6 +732,9 @@ end;}
|
||||
{ =============================================================================
|
||||
|
||||
$Log$
|
||||
Revision 1.29 2002/12/16 09:17:20 mattias
|
||||
notebook pageindex can be set to -1, if interface supports it
|
||||
|
||||
Revision 1.28 2002/12/16 09:02:27 mattias
|
||||
applied win32 notebook patch from Vincent
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user