LCL: TTabControl: added comments

git-svn-id: trunk@11086 -
This commit is contained in:
mattias 2007-05-06 08:34:20 +00:00
parent 0684e89b83
commit 545c0cee08
2 changed files with 5 additions and 2 deletions

View File

@ -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;

View File

@ -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;