<p style="padding:0 0 0 0; margin:0 0 0 0;">Now you surprised me. I completely forgot I used generics, I had to look to old sources</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">because I wasn't sure whether it came from me or from someone else.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">Anyway, FPC 2.6.4 is not able to compile it? You are the first who say it.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">I guess replacing generics with TFPList shouldn't be difficult.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">V.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">______________________________________________________________<br />
> Od: Jesus Reyes <jesusrmx@gmail.com><br />
> Komu: Lazarus mailing list <lazarus@lists.lazarus.freepascal.org><br />
> Datum: 11.05.2015 22:09<br />
> Předmět: Re: [Lazarus] Processing TCoolBar child by IDE<br />
></p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">En Mon, 11 May 2015 09:18:01 -0500, Vojtěch Čihák <vojtech.cihak@atlas.cz> escribió:<br />
<br />
</p>
<blockquote style="margin: 0 0 0.80ex; border-left: #0000FF 2px solid; padding-left: 1ex;">
<p style="padding: 0 0 0 0; margin: 0 0 0 0;">Hi,</p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;"> </p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;">developing TCoolBar wasn't easy, one must deal with LCL austosizing mechanism, which is very sophisticated.</p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;">I know that in design-time is not band-height recalculated immediately. The reason is mainly I wanted to do CoolBar</p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;">efficient and avoid redundant recalculation (LCL triggers many resize events).</p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;"> </p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;">I understand you, it would be nice to have it perfect (panel will resize band and band will resize panel).</p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;">However, I wouldn't like to make big changes to design of TCoolBar, I happy it works and is stable :-).</p>
<p style="padding: 0 0 0 0; margin: 0 0 0 0;"> </p>
</blockquote>
<div>Any change that TCtrlBands can be re-implemented to not use generics?, while they apparently work fine on FPC trunk, they are not guaranteed to work on FPC 2.6.X. (specially advanced features like the one in r 45860) and 1.4 was apparently released with this changes.</div>
<div>In fact recompiling 1.4 on Mac using 2.6.X failed here :(.</div>
<div>Jesus Reyes A.</div>
<p style="padding:0 0 0 0; margin:0 0 0 0;"><br />
<br />
----------<br />
<br />
--<br />
_______________________________________________<br />
Lazarus mailing list<br />
Lazarus@lists.lazarus.freepascal.org<br />
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a></p>