On 13/03/2013 17:27, Graeme Geldenhuys wrote: > Anyway, you have to change your code to the following. > > GCache.ClientHeight := GCache.ClientHeight - (DefaultRowHeight * > FooterRowCount + 2);
... which is sort of more readable than Dec() construct Frank was using, (but it is IMO&TMV only) ... > > I also believe the new FPC changes also means that with properties you > also can't use the short *= += -= etc syntax, which I loved to use. The > above would have been written as > > GCache.ClientHeight -= (DefaultRowHeight * FooterRowCount + 2); > and this is indeed surprising (but since operator overloads are functions, and first one to this operator needs to be 'var', then I guess, not really) (what if the operator function was 'inline' if we have such a keyword?) > > Regards, > - Graeme - > L. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
