mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 09:59:20 +02:00
LCL: remove obsolete string array. Use WriteStr
git-svn-id: trunk@33234 -
This commit is contained in:
parent
123ceac181
commit
bd2c6d9b5c
@ -1737,16 +1737,12 @@ var
|
|||||||
procedure DumpZone(Zone: TDockZone);
|
procedure DumpZone(Zone: TDockZone);
|
||||||
const
|
const
|
||||||
DumpStr = 'Zone: Orientation = <b>%s</b>, ChildCount = <b>%d</b>, ChildControl = <b>%s</b>, %s, Splitter = <b>%s</b>';
|
DumpStr = 'Zone: Orientation = <b>%s</b>, ChildCount = <b>%d</b>, ChildControl = <b>%s</b>, %s, Splitter = <b>%s</b>';
|
||||||
StrOrientation: array[TDockOrientation] of String =
|
var
|
||||||
(
|
S: string;
|
||||||
'doNoOrient',
|
|
||||||
'doHorizontal',
|
|
||||||
'doVertical',
|
|
||||||
'doPages'
|
|
||||||
);
|
|
||||||
begin
|
begin
|
||||||
WriteLn(Format(DumpStr, [StrOrientation[Zone.Orientation], Zone.ChildCount,
|
WriteStr(S, Zone.Orientation);
|
||||||
DbgSName(Zone.ChildControl), DbgS(Bounds(Zone.Left, Zone.Top, Zone.Width, Zone.Height)),
|
WriteLn(Format(DumpStr, [S, Zone.ChildCount, DbgSName(Zone.ChildControl),
|
||||||
|
DbgS(Bounds(Zone.Left, Zone.Top, Zone.Width, Zone.Height)),
|
||||||
dbgs(TLazDockZone(Zone).Splitter)]));
|
dbgs(TLazDockZone(Zone).Splitter)]));
|
||||||
if TLazDockZone(Zone).Splitter <> nil then
|
if TLazDockZone(Zone).Splitter <> nil then
|
||||||
DumpAnchors('<br>Splitter anchors: ', TLazDockZone(Zone).Splitter);
|
DumpAnchors('<br>Splitter anchors: ', TLazDockZone(Zone).Splitter);
|
||||||
|
Loading…
Reference in New Issue
Block a user