how dynamic a TppLabel_Titile and assin her parent to ppHeaderBand1
? TppLabel_Titile:=TppLabel.Create(Application);
TppLabel_Titile.Parent:=ppHeaderBand1; //[Error] Cannot assign to
a read-only property
so what can i do?
--- posted by geoForum on http://delphi.newswhat.com
TppLabel_Titile.Parent:=ppHeaderBand1; //[Error] Cannot assign to
a read-only property
so what can i do?
--- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.
Comments
ppHeaderBand1 is create by designtime.
--- posted by geoForum on http://delphi.newswhat.com
TppLabel_Titile.Band.Parent:=ppHeaderBand1;
compile no problem,when it run it raise AccessViolation.
--- posted by geoForum on http://delphi.newswhat.com
Try just setting TppLabel_Titile.Band := ppHeaderBand1
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com