Creating TppShape at runtime
Hi
I would like to create a TppShape at runtime, but i cant set the Parent
property
It tells me that it is a readonly property.
How do i do it then?
This is what i did
Shape1 := TppShape.Create(DetailBand1);
// Shape1.Parent := DetailBand1;
Shape1.Visible := True ;
Shape1.Left := 50 ;
Shape1.Top := 10 ;
Shape1.Width := 50 ;
Shape1.Height := 20 ;
I'm using Reportbuilder 9 with Delphi 7
Steffen Poulsen
junk@visionarysystems.dk
I would like to create a TppShape at runtime, but i cant set the Parent
property
It tells me that it is a readonly property.
How do i do it then?
This is what i did
Shape1 := TppShape.Create(DetailBand1);
// Shape1.Parent := DetailBand1;
Shape1.Visible := True ;
Shape1.Left := 50 ;
Shape1.Top := 10 ;
Shape1.Width := 50 ;
Shape1.Height := 20 ;
I'm using Reportbuilder 9 with Delphi 7
Steffen Poulsen
junk@visionarysystems.dk
This discussion has been closed.
Comments
Instead of setting the Parent property, try setting the Band property to
define which band you would like the component to be in.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com