<div dir="ltr"><div>Hi,<br><br>Where report bugs for TurboPower IpHTMLPanel? I don't see category for this package in mantis bugtracker.<br><br>***Bug***<br>I have html table. I want to add new rows on runtime by creating new node TIpHtmlNodeTR.Create() to avoid reloading and reparsing whole HTML. Table can contain thousands rows and this trick speed up adding new row extremely. But there is a bug which I could not find while debugging. When you add new row, all rows losing its Align and VAlign property (seems like set to default Left and Top). I even tried to enumerate all TD nodes and set it again to center but it doesn't help. See attached demo. Maybe someone who ported this library could look at this?<br>
</div>Demo: <a href="http://ovh.to/KsMZ3T">http://ovh.to/KsMZ3T</a><div><br>***Extension***<br>New property for TIpHtmlNodeIMG.FreePicture . This flag check if private FPicture object should be freed. So everywhere where code is:<br>
<br>Code: (pascal)<br><br> if FPicture <> Owner.DefaultImage then begin {!!.10}<br> FPicture.Free; {!!.10}<br> FPicture := nil; {!!.10}<br>
end;<br><br>... it should be:<br>Code: (pascal)<br><br> if FPicture <> Owner.DefaultImage then begin {!!.10}<br> if FFreePicture then<br> FPicture.Free; {!!.10}<br>
FPicture := nil; {!!.10}<br> end;<br><br>This is very helpful if you have chat dialog where users have avatars. Instead of creating new instance of TPicture for each message you are just pointing to same instance and free it by your self. This avoid to increase memory usage and you can change graphic without reloading whole HTML.<br>
<br>Regards<br></div></div>