mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 14:19:11 +02:00
* Set parent of new band
git-svn-id: trunk@57467 -
This commit is contained in:
parent
cd77b46777
commit
a7e144fcd4
@ -1242,6 +1242,7 @@ Var
|
|||||||
begin
|
begin
|
||||||
Result:=ABandClass.Create(Page);
|
Result:=ABandClass.Create(Page);
|
||||||
Result.Layout.Height:=PixelsToMM(FMinControlHeight,CurrentDPI);
|
Result.Layout.Height:=PixelsToMM(FMinControlHeight,CurrentDPI);
|
||||||
|
Result.Parent:=Page;
|
||||||
O:=FObjects.AddBand(Result);
|
O:=FObjects.AddBand(Result);
|
||||||
FObjects.OrderBands(Canvas,CurrentDPI);
|
FObjects.OrderBands(Canvas,CurrentDPI);
|
||||||
If Assigned(FOnElementCreated) then
|
If Assigned(FOnElementCreated) then
|
||||||
|
Loading…
Reference in New Issue
Block a user