2015.05.06 01:52, Jesus Reyes rašė:
Well, apparently it could be a bug with a side effect :). It seems the Multiline property is a Column's Title property not a column property however it is treated as if it is a column property, something that should only affect the title cell but it actually affects the whole column. That's the side effect. If that is the intended behaviour (Multiline title property is a contribution, Werner?) then it's OK to me, in that case please try the attached patch and write back your results, here I tested under Windows and it seems to work fine. Jesus Reyes A.
tested on Linux: AutosizeColumn[s] stops working. But if I add line "aRect := Rect(0, 0, High(integer), High(integer));" before "DrawText..." then it works, also bug is gone.
-- Valdas Jankūnas -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
