mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-29 21:29:26 +02:00
lcl: add protected field TStatusPanel.FIntfFlag to store useful flags in the status panels by interfaces (needs in the next commit)
git-svn-id: trunk@18618 -
This commit is contained in:
parent
51334b4f2b
commit
895b31f8f4
@ -79,6 +79,8 @@ type
|
||||
procedure SetText(const Value: string);
|
||||
procedure SetWidth(Value: Integer);
|
||||
protected
|
||||
// field to use by interface. dont use it in the LCL
|
||||
FIntfFlag: Integer;
|
||||
function GetDisplayName: string; override;
|
||||
procedure PanelChanged(const Parts: TPanelParts);
|
||||
procedure SetIndex(Value: Integer); override;
|
||||
|
@ -25,6 +25,7 @@ begin
|
||||
FBevel := pbLowered;
|
||||
FParentBiDiMode := True;
|
||||
FAlignment := taLeftJustify;
|
||||
FIntfFlag := 0;
|
||||
inherited Create(aCollection);
|
||||
|
||||
AStatusBar:=StatusBar;
|
||||
@ -150,4 +151,4 @@ begin
|
||||
Changed(True);
|
||||
PanelChanged([ppWidth]);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user