mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 18:36:25 +02:00
LCL: TTabControl: added comments
git-svn-id: trunk@11086 -
This commit is contained in:
parent
0684e89b83
commit
545c0cee08
@ -408,7 +408,7 @@ type
|
||||
FStyle: TTabStyle;
|
||||
FTabControlCreating: Boolean;
|
||||
FTabPosition: TTabPosition;
|
||||
FTabs: TStrings;
|
||||
FTabs: TStrings;// this is a TTabControlNoteBookStrings
|
||||
function GetDisplayRect: TRect;
|
||||
function GetHotTrack: Boolean;
|
||||
function GetMultiLine: Boolean;
|
||||
|
@ -535,7 +535,10 @@ var
|
||||
ARect: TRect;
|
||||
TS : TTextStyle;
|
||||
begin
|
||||
ARect := GetClientRect;
|
||||
//DebugLn(['TCustomTabControl.Paint Bounds=',dbgs(BoundsRect),' ClientRect=',dbgs(ClientRect),' CientOrigin=',dbgs(ClientOrigin)]);
|
||||
// clear the whole area
|
||||
// ToDo: this clears the tabs as well on some widgetset, namely gtk2
|
||||
ARect:=ClientRect;
|
||||
Canvas.Brush.Color:=clBackground;
|
||||
Canvas.FillRect(ARect);
|
||||
ARect:=GetDisplayRect;
|
||||
|
Loading…
Reference in New Issue
Block a user