[Lazarus] Strange behavior of AutoSizeColumn in StringGrid

Jesus Reyes A. jesusrmx at gmail.com
Wed May 6 22:10:46 CEST 2015


On Wed, 06 May 2015 04:15:43 -0500, Valdas Jankūnas <zmuogs at gmail.com>  
wrote:

> 2015.05.06 01:52, Jesus Reyes rašė:
>
>> 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.
>>
>
> 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.
>

I'm sorry for my previous two messages. I hope this time it will go ok.
the following is what I replied in both cases.
- - - - - - - - - -

Weird, now I have tested in both Linux and Mac and it works fine
without your change......

Anybody else?

Jesus Reyes A.




More information about the Lazarus mailing list